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

[Xen-devel] Compile fix for xenoprof on x86_64



linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/hypercall.h 
has the wrong number of arguments defined for HYPERVISOR_xenoprof_op.
This patch is against changeset 9955.

Signed-off-by: Ray Bryant <raybry@xxxxxxxxxxxxxxxxx>

Index: 
xen-unstable-5-08-2006.hg/linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/hypercall.h
===================================================================
--- 
xen-unstable-5-08-2006.hg.orig/linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/hypercall.h
+++ 
xen-unstable-5-08-2006.hg/linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/hypercall.h
@@ -355,9 +355,9 @@ HYPERVISOR_callback_op(

 static inline int
 HYPERVISOR_xenoprof_op(
-       int op, unsigned long arg1, unsigned long arg2)
+       int op, void *arg)
 {
-       return _hypercall3(int, xenoprof_op, op, arg1, arg2);
+       return _hypercall2(int, xenoprof_op, op, arg);
 }

 #endif /* __HYPERCALL_H__ */


-- 
Ray Bryant
AMD Performance Labs                   Austin, Tx
512-602-0038 (o)                 512-507-7807 (c)


_______________________________________________
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®.