Commit 205bd3d2 authored by Joe Perches's avatar Joe Perches Committed by Linus Torvalds

printk: correct timeout comment, neaten MODULE_PARM_DESC

Neaten the MODULE_PARAM_DESC message.
Use 30 seconds in the comment for the zap console locks timeout.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 02f1f217
...@@ -935,8 +935,8 @@ static int __init ignore_loglevel_setup(char *str) ...@@ -935,8 +935,8 @@ static int __init ignore_loglevel_setup(char *str)
early_param("ignore_loglevel", ignore_loglevel_setup); early_param("ignore_loglevel", ignore_loglevel_setup);
module_param(ignore_loglevel, bool, S_IRUGO | S_IWUSR); module_param(ignore_loglevel, bool, S_IRUGO | S_IWUSR);
MODULE_PARM_DESC(ignore_loglevel, "ignore loglevel setting, to" MODULE_PARM_DESC(ignore_loglevel,
"print all kernel messages to the console."); "ignore loglevel setting (prints all kernel messages to the console)");
#ifdef CONFIG_BOOT_PRINTK_DELAY #ifdef CONFIG_BOOT_PRINTK_DELAY
...@@ -1419,9 +1419,9 @@ static void call_console_drivers(int level, const char *text, size_t len) ...@@ -1419,9 +1419,9 @@ static void call_console_drivers(int level, const char *text, size_t len)
} }
/* /*
* Zap console related locks when oopsing. Only zap at most once * Zap console related locks when oopsing.
* every 10 seconds, to leave time for slow consoles to print a * To leave time for slow consoles to print a full oops,
* full oops. * only zap at most once every 30 seconds.
*/ */
static void zap_locks(void) static void zap_locks(void)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment