|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Re: config dependency in stable-2.6.32.x
On Fri, 7 May 2010, Stefano Stabellini wrote:
> diff --git a/drivers/xen/platform-pci.c b/drivers/xen/platform-pci.c
> index f4818b3..9a4e5d6 100644
> --- a/drivers/xen/platform-pci.c
> +++ b/drivers/xen/platform-pci.c
> @@ -29,6 +29,7 @@
>
> #include <xen/grant_table.h>
> #include <xen/platform_pci.h>
> +#include <xen/platform_pci.h>
> #include <xen/interface/platform_pci.h>
> #include <xen/xenbus.h>
> #include <xen/events.h>
> @@ -251,6 +252,11 @@ static int __init platform_pci_module_init(void)
> ": No platform pci device model found\n");
> return rc;
> }
> +
> + alloc_xen_mmio_hook = alloc_xen_mmio;
> + platform_pci_resume_hook = platform_pci_resume;
> + platform_pci_disable_irq_hook = platform_pci_disable_irq;
> + platform_pci_enable_irq_hook = platform_pci_enable_irq;
>
> return 0;
> }
Actually I moved the hook initialization in platform_pci_init to cover
the built-in case too.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|