Messages in this thread Patch in this message | | | Subject | Re: [V7][PATCH 0/6] x86, nmi: new NMI handling routines | From | Peter Zijlstra <> | Date | Mon, 03 Oct 2011 17:52:38 +0200 |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |