aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/printk.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-02-08 07:20:55 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-08 12:22:36 -0500
commita36219ac93b3fd029f5e800642226c57796c152f (patch)
treef630c97be9d4f792e662db1510cef244c1c8d637 /kernel/printk.c
parent3287629eff75c7323e875b942be82f7ac6ca18da (diff)
The scheduled 'time' option removal
The scheduled removal of the 'time' option. Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/printk.c')
-rw-r--r--kernel/printk.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/kernel/printk.c b/kernel/printk.c
index 0fb8be60737..e95e7c6e7b0 100644
--- a/kernel/printk.c
+++ b/kernel/printk.c
@@ -566,19 +566,6 @@ static int printk_time = 0;
566#endif 566#endif
567module_param_named(time, printk_time, bool, S_IRUGO | S_IWUSR); 567module_param_named(time, printk_time, bool, S_IRUGO | S_IWUSR);
568 568
569static int __init printk_time_setup(char *str)
570{
571 if (*str)
572 return 0;
573 printk_time = 1;
574 printk(KERN_NOTICE "The 'time' option is deprecated and "
575 "is scheduled for removal in early 2008\n");
576 printk(KERN_NOTICE "Use 'printk.time=<value>' instead\n");
577 return 1;
578}
579
580__setup("time", printk_time_setup);
581
582/* Check if we have any console registered that can be called early in boot. */ 569/* Check if we have any console registered that can be called early in boot. */
583static int have_callable_console(void) 570static int have_callable_console(void)
584{ 571{