[PATCH] panic.c: export panic_on_oops

Simon Kagstrom simon.kagstrom at netinsight.net
Mon Oct 12 07:23:04 EDT 2009


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

> * Artem Bityutskiy <dedekind1 at 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




More information about the linux-mtd mailing list