WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: config dependency in stable-2.6.32.x

To: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: config dependency in stable-2.6.32.x
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Fri, 7 May 2010 17:00:56 +0100
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, M A Young <m.a.young@xxxxxxxxxxxx>
Delivery-date: Fri, 07 May 2010 09:01:15 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <alpine.DEB.2.00.1005071211250.11380@kaball-desktop>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <alpine.LFD.2.00.1005062059520.3747@xxxxxxxxxxxxxxx> <alpine.LFD.2.00.1005062256090.3747@xxxxxxxxxxxxxxx> <alpine.DEB.2.00.1005071211250.11380@kaball-desktop>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
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