projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f14bde
)
x86: print message if nmi_watchdog=2 cannot be enabled
author
Ingo Molnar
<mingo@elte.hu>
Thu, 27 Mar 2008 22:39:42 +0000
(23:39 +0100)
committer
Ingo Molnar
<mingo@elte.hu>
Fri, 4 Apr 2008 16:36:45 +0000
(18:36 +0200)
right now if there's no CPU support for nmi_watchdog=2 we'll just
refuse it silently.
print a useful warning.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perfctr-watchdog.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/cpu/perfctr-watchdog.c
b/arch/x86/kernel/cpu/perfctr-watchdog.c
index
19a3594
..
b943e10
100644
(file)
--- a/
arch/x86/kernel/cpu/perfctr-watchdog.c
+++ b/
arch/x86/kernel/cpu/perfctr-watchdog.c
@@
-667,8
+667,10
@@
int lapic_watchdog_init(unsigned nmi_hz)
{
if (!wd_ops) {
probe_nmi_watchdog();
- if (!wd_ops)
+ if (!wd_ops) {
+ printk(KERN_INFO "NMI watchdog: CPU not supported\n");
return -1;
+ }
if (!wd_ops->reserve()) {
printk(KERN_ERR