WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Compile fix for xenoprof on x86_64

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Compile fix for xenoprof on x86_64
From: "Ray Bryant" <raybry@xxxxxxxxxxxxxxxxx>
Date: Wed, 10 May 2006 16:28:17 -0500
Delivery-date: Wed, 10 May 2006 14:28:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Compile fix for xenoprof on x86_64, Ray Bryant <=