Re: [PATCH] panic.c: export panic_on_oops

Artem Bityutskiy
2009-10-13T08:57:41Z

On Tue, 2009-10-13 at 09:58 +0200, Simon Kagstrom wrote:
> On Mon, 12 Oct 2009 11:45:15 -0700 (PDT)
> Linus Torvalds <torvalds@linux-foundation.org> wrote:
>
> > So the logic should literally be something like this:
> >
> > - kernel/printk.c:
> >
> > void dump_kmsg(void)
> > {
> > unsigned long len = ACCESS_ONCE(log_end);
>
> OK, I'll get back with a few patches that does this later today.

Yeah, I think it is good idea to work on a generic support, and simplify
mtdoops.

--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)