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

[Xen-devel] Fix the build for linux cs585 (Re: [PATCH] pciif: do not dep

To: samuel.thibault@xxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Fix the build for linux cs585 (Re: [PATCH] pciif: do not depend on linux' msix_entries)
From: Yosuke Iwamatsu <y-iwamatsu@xxxxxxxxxxxxx>
Date: Thu, 03 Jul 2008 14:28:03 +0900
Cc:
Delivery-date: Wed, 02 Jul 2008 22:28:34 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20080702123228.GE4714@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <20080702123134.GD4714@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20080702123228.GE4714@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (Windows/20080421)
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

<Prev in Thread] Current Thread [Next in Thread>