Skip to contentSkip to conversation

Compile fix for xenoprof on x86_64

PATCH Ray Bryant 1 participant 1 message May 10, 2006

lore
Share & tools
lore

Ray Bryant

author
#0 lore raw

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.

linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/hypercall.h +2 -2
Index: 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__ */
Signature · 3 lines
Ray Bryant
AMD Performance Labs                   Austin, Tx
512-602-0038 (o)                 512-507-7807 (c)