From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ray Bryant" Subject: Compile fix for xenoprof on x86_64 Date: Wed, 10 May 2006 16:28:17 -0500 Message-ID: <200605101628.17936.raybry@mpdtxmail.amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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 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)