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 <[email protected]>
linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/hypercall.h +2 -2
@@ -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)