X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=kernel%2Fprintk.c;h=75077ad0b5378afd3fa89aa9f0199c296a8c0cd7;hb=b66696e3c0d8fc01efdbc701eba1276618332cb3;hp=40674122ecf23aed335a67d88ff4444de8970e9c;hpb=6895210e89df20520916c94a4dc148a43229053e;p=~andy%2Flinux diff --git a/kernel/printk.c b/kernel/printk.c index 40674122ecf..75077ad0b53 100644 --- a/kernel/printk.c +++ b/kernel/printk.c @@ -70,8 +70,6 @@ int console_printk[4] = { DEFAULT_CONSOLE_LOGLEVEL, /* default_console_loglevel */ }; -static int saved_console_loglevel = -1; - /* * Low level drivers may need that to know if they can schedule in * their unblank() callback or not. So let's export it. @@ -146,6 +144,7 @@ static char __log_buf[__LOG_BUF_LEN]; static char *log_buf = __log_buf; static int log_buf_len = __LOG_BUF_LEN; static unsigned logged_chars; /* Number of chars produced since last read+clear operation */ +static int saved_console_loglevel = -1; #ifdef CONFIG_KEXEC /*