Re: [PATCH] printk: Add printk_flush() to force buffered text toconsole

From: Joe Perches
Date: Thu Jun 21 2012 - 14:22:21 EST


On Thu, 2012-06-21 at 11:17 -0700, Joe Perches wrote:
> bool printk_set_buffering(bool enable)
> {
> bool old_state = printk_buffered;
> printk_buffered = enable;

I suppose that should really be a counter
with an atomic inc/dec.


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