Re: [PATCH] x86: Allow users to force a panic on NMI

From: Andi Kleen
Date: Wed Sep 27 2006 - 03:41:32 EST


On Tue, Sep 26, 2006 at 04:58:57PM -0700, Andrew Morton wrote:
> On Tue, 26 Sep 2006 22:59:59 GMT
> Linux Kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx> wrote:
>
> > --- a/kernel/panic.c
> > +++ b/kernel/panic.c
> > @@ -21,6 +21,7 @@ #include <linux/kexec.h>
> > #include <linux/debug_locks.h>
> >
> > int panic_on_oops;
> > +int panic_on_unrecovered_nmi;
> > int tainted;
> > static int pause_on_oops;
> > static int pause_on_oops_flag;
>
> Is visible to all architectures.

Ok, adding a #ifdef

-Andi
-
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/