aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2010-03-02 08:20:14 -0500
committerIngo Molnar <mingo@elte.hu>2010-03-02 09:02:05 -0500
commit5671a10e2bc7f99d9157c6044faf8be2ef302361 (patch)
treee0ad3d58d78f2ce2b3b6af018dd6a160d1e21799 /kernel
parentc99c30feadf664ccd8590b96259cb9f3954bd246 (diff)
nmi_watchdog: Tell the world we're active
Because I was wondering why perf stat wasn't working as expected.. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Don Zickus <dzickus@redhat.com> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/nmi_watchdog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/nmi_watchdog.c b/kernel/nmi_watchdog.c
index 0a6f57f537a7..a79d211c30df 100644
--- a/kernel/nmi_watchdog.c
+++ b/kernel/nmi_watchdog.c
@@ -244,6 +244,8 @@ static int __init spawn_nmi_watchdog_task(void)
244 if (nonmi_watchdog) 244 if (nonmi_watchdog)
245 return 0; 245 return 0;
246 246
247 printk(KERN_INFO "NMI watchdog enabled, takes one hw-pmu counter.\n");
248
247 err = cpu_callback(&cpu_nfb, CPU_UP_PREPARE, cpu); 249 err = cpu_callback(&cpu_nfb, CPU_UP_PREPARE, cpu);
248 if (err == NOTIFY_BAD) { 250 if (err == NOTIFY_BAD) {
249 BUG(); 251 BUG();