diff options
author | Yong Wang <yong.y.wang@linux.intel.com> | 2009-05-29 01:28:35 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-05-29 03:04:58 -0400 |
commit | c323d95fa4dbe0b6bf6d59e24a0b7db067dd08a7 (patch) | |
tree | 4e674688eb9ba7a84ab34db4bf51cfca34edf6ed /arch/x86/kernel/apic | |
parent | da417a7537cbf4beb28a08a49adf915f2358040c (diff) |
perf_counter/x86: Always use NMI for performance-monitoring interrupt
Always use NMI for performance-monitoring interrupt as there could be
racy situations if we switch between irq and nmi mode frequently.
Signed-off-by: Yong Wang <yong.y.wang@intel.com>
LKML-Reference: <20090529052835.GA13657@ywang-moblin2.bj.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/apic')
-rw-r--r-- | arch/x86/kernel/apic/apic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c index 89b63b5fad33..60df2efd7c80 100644 --- a/arch/x86/kernel/apic/apic.c +++ b/arch/x86/kernel/apic/apic.c | |||
@@ -1135,7 +1135,7 @@ void __cpuinit setup_local_APIC(void) | |||
1135 | apic_write(APIC_ESR, 0); | 1135 | apic_write(APIC_ESR, 0); |
1136 | } | 1136 | } |
1137 | #endif | 1137 | #endif |
1138 | perf_counters_lapic_init(0); | 1138 | perf_counters_lapic_init(); |
1139 | 1139 | ||
1140 | preempt_disable(); | 1140 | preempt_disable(); |
1141 | 1141 | ||