diff options
author | Lin Ming <ming.m.lin@intel.com> | 2011-03-03 10:34:50 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-03-05 07:12:16 +0100 |
commit | 6909262429b70a162e9e7053672cfd8024c9275d (patch) | |
tree | ee701491a7cd2a1fb685f18b379a6cd4d450b395 /arch/x86/kernel/cpu/perf_event.c | |
parent | e994d7d23a0bae34cd28834e85522ed4e782faf7 (diff) |
perf: Avoid the percore allocations if the CPU is not HT capable
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1299119690-13991-5-git-send-email-ming.m.lin@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/cpu/perf_event.c')
-rw-r--r-- | arch/x86/kernel/cpu/perf_event.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/perf_event.c b/arch/x86/kernel/cpu/perf_event.c index 4d6ce5d612da..26604188aa49 100644 --- a/arch/x86/kernel/cpu/perf_event.c +++ b/arch/x86/kernel/cpu/perf_event.c @@ -30,6 +30,7 @@ #include <asm/stacktrace.h> #include <asm/nmi.h> #include <asm/compat.h> +#include <asm/smp.h> #if 0 #undef wrmsrl |