[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] [pv-ops] fix dom0 S3 when MSI is used.
On 03/17/2010 07:28 AM, Konrad Rzeszutek Wilk wrote: static int msi_free_irqs(struct pci_dev* dev); @@ -347,6 +347,20 @@ static void __pci_restore_msix_state(struct pci_dev *dev) void pci_restore_msi_state(struct pci_dev *dev) { + if (xen_initial_domain()) {That won't do. If you try to compile this kernel on other platforms (say PPC), this will throw a huge problem. Actually, <xen/xen.h> now defines these for all architectures, so they're safe to put into arch-independent code. J _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |