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

[Xen-changelog] [xen-unstable] perfc: Fix x86_64 build with perfc_arrays=y



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1277187578 -3600
# Node ID a24dbfcbdf695f49867d5881ea20ab40f18aea98
# Parent  74fa38447ad9120770b62bba88b2ca0f79f99c6e
perfc: Fix x86_64 build with perfc_arrays=y

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/include/asm-x86/x86_64/asm_defns.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -r 74fa38447ad9 -r a24dbfcbdf69 xen/include/asm-x86/x86_64/asm_defns.h
--- a/xen/include/asm-x86/x86_64/asm_defns.h    Tue Jun 22 07:19:16 2010 +0100
+++ b/xen/include/asm-x86/x86_64/asm_defns.h    Tue Jun 22 07:19:38 2010 +0100
@@ -67,8 +67,9 @@ 1:      addq  $8,%rsp;
         pushq _cur;                             \
         movslq VCPU_processor(_cur),_cur;       \
         pushq %rdx;                             \
+        leaq __per_cpu_offset(%rip),%rdx;       \
+        movq (%rdx,_cur,8),_cur;                \
         leaq per_cpu__perfcounters(%rip),%rdx;  \
-        movq __per_cpu_offset(,_cur,8),_cur;    \
         addq %rdx,_cur;                         \
         popq %rdx;                              \
         incl _name*4(_cur,_idx,4);              \

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.