Re: PATCH: Allow users to force a panic on NMI - Header file

Alan Cox
2005-10-21T15:48:01Z

Forgot the header file in that one.

Signed-off-by: Alan Cox <alan@redhat.com>

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.14-rc4-mm1/include/linux/kernel.h linux-2.6.14-rc4-mm1/include/linux/kernel.h
--- linux.vanilla-2.6.14-rc4-mm1/include/linux/kernel.h 2005-10-20 16:12:41.000000000 +0100
+++ linux-2.6.14-rc4-mm1/include/linux/kernel.h 2005-10-20 17:30:10.000000000 +0100
@@ -170,6 +170,7 @@
extern int oops_in_progress; /* If set, an oops, panic(), BUG() or die() is in progress */
extern __deprecated_for_modules int panic_timeout;
extern int panic_on_oops;
+extern int panic_on_unrecovered_nmi;
extern int tainted;
extern const char *print_tainted(void);
extern void add_taint(unsigned);