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

[Xen-ia64-devel] [Patch] Fix for compiling PV-on-HVM on IPF



Hi all,

  In the latest ia64-unstable tree, we can't build PV-on-HVM driver,
because of a compile error about HYPERVISOR_grant_table_op().

  I'll submit a patch to modify it.

  But, I don't have the test environment that I use at once, thus
I did compile test only.

Thanks,
- Tsunehisa Doi
# HG changeset patch
# User Doi.Tsunehisa@xxxxxxxxxxxxxx
# Date 1172463221 -32400
# Node ID 47e099665f6766ff06764f7735f3979733fe4e25
# Parent  707a696e840db1ddb81fede0fe6aa0910e9ed02f
Fix for compiling PV-on-HVM driver on IPF

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@xxxxxxxxxxxxxx>

diff -r 707a696e840d -r 47e099665f67 
unmodified_drivers/linux-2.6/platform-pci/xen_support.c
--- a/unmodified_drivers/linux-2.6/platform-pci/xen_support.c   Fri Feb 23 
14:06:08 2007 -0700
+++ b/unmodified_drivers/linux-2.6/platform-pci/xen_support.c   Mon Feb 26 
13:13:41 2007 +0900
@@ -45,7 +45,13 @@ unsigned long __hypercall(unsigned long 
        return __res;
 }
 EXPORT_SYMBOL(__hypercall);
-#endif
+
+int HYPERVISOR_grant_table_op(unsigned int cmd, void *uop, unsigned int count)
+{
+       return xencomm_mini_hypercall_grant_table_op(cmd, uop, count);
+}
+EXPORT_SYMBOL(HYPERVISOR_grant_table_op);
+#endif /* __ia64__ */
 
 void xen_machphys_update(unsigned long mfn, unsigned long pfn)
 {
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel

 


Rackspace

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