X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=kernel%2Fprintk.c;h=75077ad0b5378afd3fa89aa9f0199c296a8c0cd7;hb=ebd09ec93c90c8ec571d7e166832fb1fc705bf5e;hp=40674122ecf23aed335a67d88ff4444de8970e9c;hpb=9bb676966aa85e56af00b353387d3c274a26e480;p=cascardo%2Flinux.git diff --git a/kernel/printk.c b/kernel/printk.c index 40674122ecf2..75077ad0b537 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 /*