Re: [RFC][PATCH] printk: Fixup the nmi printk mess

Joe Perches
2015-06-10T16:19:27Z

On Wed, 2015-06-10 at 12:02 -0400, Steven Rostedt wrote:

> BTW, the printk.c file is getting rather big.

No joke that.

> Can we make a
> kernel/printk/nmi.c file that does this work. We can add a local
> printk_common.h that can share the global data structures, and this
> would move most of the #ifdef out of the C files.

Yes please.

There are many things in printk that could be moved
into separate files.

The last time I tried this was before Kay's structured