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

[Xen-changelog] [xen-unstable] [IA64] Move PERFC() from asmmacro.h



# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1197665344 25200
# Node ID fe25c7ec84e8ca8866a8eb360a4f63041861fdcb
# Parent  38c73bd5e02df204ffe13c9dd54555d20fb3b118
[IA64] Move PERFC() from asmmacro.h

Signed-off-by: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
---
 xen/arch/ia64/xen/hyperprivop.S               |    3 +++
 xen/include/asm-ia64/linux-xen/asm/asmmacro.h |    4 ----
 2 files changed, 3 insertions(+), 4 deletions(-)

diff -r 38c73bd5e02d -r fe25c7ec84e8 xen/arch/ia64/xen/hyperprivop.S
--- a/xen/arch/ia64/xen/hyperprivop.S   Fri Dec 14 13:46:49 2007 -0700
+++ b/xen/arch/ia64/xen/hyperprivop.S   Fri Dec 14 13:49:04 2007 -0700
@@ -18,6 +18,9 @@
 #include <asm/vmmu.h>
 #include <public/xen.h>
 
+#ifdef PERF_COUNTERS
+#define PERFC(n) (THIS_CPU(perfcounters) + (IA64_PERFC_ ## n) * 4)
+#endif
 
 #define PAGE_PHYS      (__DIRTY_BITS | _PAGE_PL_PRIV | _PAGE_AR_RWX)
 
diff -r 38c73bd5e02d -r fe25c7ec84e8 
xen/include/asm-ia64/linux-xen/asm/asmmacro.h
--- a/xen/include/asm-ia64/linux-xen/asm/asmmacro.h     Fri Dec 14 13:46:49 
2007 -0700
+++ b/xen/include/asm-ia64/linux-xen/asm/asmmacro.h     Fri Dec 14 13:49:04 
2007 -0700
@@ -108,8 +108,4 @@ 2:{ .mib;                                           \
 # define dv_serialize_instruction
 #endif
 
-#ifdef PERF_COUNTERS
-#define PERFC(n) (THIS_CPU(perfcounters) + (IA64_PERFC_ ## n) * 4)
-#endif
-
 #endif /* _ASM_IA64_ASMMACRO_H */

_______________________________________________
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®.