Re: early_printk accessing __log_buf

From: Robin Getz
Date: Mon Jul 23 2007 - 14:15:53 EST


On Sun 22 Jul 2007 19:50, Mike Frysinger pondered:
>
> i think the attached two functions account for what Robin and Andrew
> were thinking ...

A note about why/when grab_lock would be set to zero (pre-kernel init, or
OOPs) might be nice.

Or - remove it - and tell people they should be using do_syslog interface in
a "normal" kernel environment (where log_end or log_start can be updated).

Either would be fine with me. Andrew?

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