Re: [V7][PATCH 0/6] x86, nmi: new NMI handling routines

From: Peter Zijlstra
Date: Mon Oct 03 2011 - 11:53:54 EST



Also fixed:

drivers/char/ipmi/ipmi_watchdog.c: In function âipmi_nmiâ:
drivers/char/ipmi/ipmi_watchdog.c:1091: error: âNMI_HANDLEDâ undeclared (first use in this function)
drivers/char/ipmi/ipmi_watchdog.c:1091: error: (Each undeclared identifier is reported only once
drivers/char/ipmi/ipmi_watchdog.c:1091: error: for each function it appears in.)
drivers/char/ipmi/ipmi_watchdog.c:1096: error: âNMI_DONEâ undeclared (first use in this function)
drivers/char/ipmi/ipmi_watchdog.c: In function âcheck_parmsâ:
drivers/char/ipmi/ipmi_watchdog.c:1280: error: implicit declaration of function âregister_nmi_handlerâ
drivers/char/ipmi/ipmi_watchdog.c:1280: error: âNMI_UNKNOWNâ undeclared (first use in this function)
drivers/char/ipmi/ipmi_watchdog.c:1289: error: implicit declaration of function âunregister_nmi_handlerâ
drivers/char/ipmi/ipmi_watchdog.c: In function âipmi_wdog_initâ:
drivers/char/ipmi/ipmi_watchdog.c:1327: error: âNMI_UNKNOWNâ undeclared (first use in this function)
drivers/char/ipmi/ipmi_watchdog.c: In function âipmi_wdog_exitâ:
drivers/char/ipmi/ipmi_watchdog.c:1348: error: âNMI_UNKNOWNâ undeclared (first use in this function)


---
Index: linux-2.6/drivers/char/ipmi/ipmi_watchdog.c
===================================================================
--- linux-2.6.orig/drivers/char/ipmi/ipmi_watchdog.c
+++ linux-2.6/drivers/char/ipmi/ipmi_watchdog.c
@@ -65,6 +65,7 @@
* mechanism for it at that time.
*/
#include <asm/kdebug.h>
+#include <asm/nmi.h>
#define HAVE_DIE_NMI
#endif


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/