Skip to content

Commit

Permalink
nmi_watchdog: Tell the world we're active
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Peter Zijlstra authored and Ingo Molnar committed Mar 2, 2010
1 parent c99c30f commit 5671a10
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kernel/nmi_watchdog.c
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,8 @@ static int __init spawn_nmi_watchdog_task(void)
if (nonmi_watchdog)
return 0;

printk(KERN_INFO "NMI watchdog enabled, takes one hw-pmu counter.\n");

err = cpu_callback(&cpu_nfb, CPU_UP_PREPARE, cpu);
if (err == NOTIFY_BAD) {
BUG();
Expand Down

0 comments on commit 5671a10

Please sign in to comment.