aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/apic
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2010-11-26 09:07:02 -0500
committerIngo Molnar <mingo@elte.hu>2010-11-26 09:07:02 -0500
commit6c869e772c72d509d0db243a56c205ef48a29baf (patch)
tree9a290f1742526a8816f94560cb09bc0a09c910de /arch/x86/kernel/apic
parente4e91ac410356da3a518188f371e9d3b52ee38ee (diff)
parentee6dcfa40a50fe12a3ae0fb4d2653c66c3ed6556 (diff)
Merge branch 'perf/urgent' into perf/core
Conflicts: arch/x86/kernel/apic/hw_nmi.c Merge reason: Resolve conflict, queue up dependent patch. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/apic')
-rw-r--r--arch/x86/kernel/apic/hw_nmi.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/x86/kernel/apic/hw_nmi.c b/arch/x86/kernel/apic/hw_nmi.c
index 3e25afe9a62a..a0e71cb4fa9c 100644
--- a/arch/x86/kernel/apic/hw_nmi.c
+++ b/arch/x86/kernel/apic/hw_nmi.c
@@ -17,9 +17,6 @@
17#include <linux/nmi.h> 17#include <linux/nmi.h>
18#include <linux/module.h> 18#include <linux/module.h>
19 19
20/* For reliability, we're prepared to waste bits here. */
21static DECLARE_BITMAP(backtrace_mask, NR_CPUS) __read_mostly;
22
23#ifdef CONFIG_HARDLOCKUP_DETECTOR 20#ifdef CONFIG_HARDLOCKUP_DETECTOR
24u64 hw_nmi_get_sample_period(void) 21u64 hw_nmi_get_sample_period(void)
25{ 22{
@@ -27,6 +24,10 @@ u64 hw_nmi_get_sample_period(void)
27} 24}
28#endif 25#endif
29 26
27
28/* For reliability, we're prepared to waste bits here. */
29static DECLARE_BITMAP(backtrace_mask, NR_CPUS) __read_mostly;
30
30#ifdef arch_trigger_all_cpu_backtrace 31#ifdef arch_trigger_all_cpu_backtrace
31void arch_trigger_all_cpu_backtrace(void) 32void arch_trigger_all_cpu_backtrace(void)
32{ 33{