[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Fix the build for linux cs585 (Re: [PATCH] pciif: do not depend on linux' msix_entries)



Hi,

I failed to compile latest linux-2.6.18.8-xen. The modification below
will fix the build of pciback.

Thanks,
--Yosuke

Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@xxxxxxxxxxxxx>

diff -r 72786307fa4c drivers/xen/pciback/conf_space_capability_msi.c
--- a/drivers/xen/pciback/conf_space_capability_msi.c Wed Jul 02 13:36:55 2008 +0100 +++ b/drivers/xen/pciback/conf_space_capability_msi.c Thu Jul 03 14:29:22 2008 +0900
@@ -46,8 +46,8 @@ int pciback_enable_msix(struct pciback_d
                int i;

                for (i = 0; i < op->value; i++) {
-                       entries[i].entry = op.msix_entries[i].entry;
-                       entries[i].vector = op.msix_entries[i].vector;
+                       entries[i].entry = op->msix_entries[i].entry;
+                       entries[i].vector = op->msix_entries[i].vector;
                }

                result = pci_enable_msix(dev, entries, op->value);

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.