Re: [PATCH] panic.c: export panic_on_oops

Simon Kagstrom
2009-10-12T11:23:12Z

On Mon, 12 Oct 2009 13:15:45 +0200
Ingo Molnar <mingo@elte.hu> wrote:

> * Artem Bityutskiy <dedekind1@gmail.com> wrote:
>
> > We use the mtdoops module which stores oopses on the Flash partition,
> > in order to make it possible to analyze them later. And mtdoops needs
> > to know whether 'panic_on_oops' is on or off. Thus, we need this
> > variable to be exported.
>
> hm, why does it need it? Could you send the patch please that makes use
> of it (as an easy way to explain the need for the export) - current
> upstream drivers/mtd/mtdoops.c doesnt need it so it must be some pending
> change.

You have the patch that requires it here:

http://patchwork.ozlabs.org/patch/34732/

it's a fix to allow mtdoops to actually store oopses which happen when
panic_on_oops is set (before these would be missed as the write would
never be done).

// Simon