x86: print message if nmi_watchdog=2 cannot be enabled
[sfrench/cifs-2.6.git] / arch / x86 / kernel / cpu / perfctr-watchdog.c
index 19a359472ae14542b41bcdeb09376151a5595942..b943e10ad81438aa528ee1c7dad5f7a528488a38 100644 (file)
@@ -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