Re: [PATCH] panic.c: export panic_on_oops

From: Simon Kagstrom
Date: Mon Oct 12 2009 - 07:24:40 EST


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

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

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