debuggers.hg
changeset 16846:fe25c7ec84e8
[IA64] Move PERFC() from asmmacro.h
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
author | Alex Williamson <alex.williamson@hp.com> |
---|---|
date | Fri Dec 14 13:49:04 2007 -0700 (2007-12-14) |
parents | 38c73bd5e02d |
children | a66cad24cda6 |
files | xen/arch/ia64/xen/hyperprivop.S xen/include/asm-ia64/linux-xen/asm/asmmacro.h |
line diff
1.1 --- a/xen/arch/ia64/xen/hyperprivop.S Fri Dec 14 13:46:49 2007 -0700 1.2 +++ b/xen/arch/ia64/xen/hyperprivop.S Fri Dec 14 13:49:04 2007 -0700 1.3 @@ -18,6 +18,9 @@ 1.4 #include <asm/vmmu.h> 1.5 #include <public/xen.h> 1.6 1.7 +#ifdef PERF_COUNTERS 1.8 +#define PERFC(n) (THIS_CPU(perfcounters) + (IA64_PERFC_ ## n) * 4) 1.9 +#endif 1.10 1.11 #define PAGE_PHYS (__DIRTY_BITS | _PAGE_PL_PRIV | _PAGE_AR_RWX) 1.12
2.1 --- a/xen/include/asm-ia64/linux-xen/asm/asmmacro.h Fri Dec 14 13:46:49 2007 -0700 2.2 +++ b/xen/include/asm-ia64/linux-xen/asm/asmmacro.h Fri Dec 14 13:49:04 2007 -0700 2.3 @@ -108,8 +108,4 @@ 2:{ .mib; \ 2.4 # define dv_serialize_instruction 2.5 #endif 2.6 2.7 -#ifdef PERF_COUNTERS 2.8 -#define PERFC(n) (THIS_CPU(perfcounters) + (IA64_PERFC_ ## n) * 4) 2.9 -#endif 2.10 - 2.11 #endif /* _ASM_IA64_ASMMACRO_H */