Browse Source

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>
Adrian Bunk 17 năm trước cách đây
mục cha
commit
a36219ac93

+ 0 - 8
Documentation/feature-removal-schedule.txt

@@ -192,14 +192,6 @@ Who:	Len Brown <len.brown@intel.com>
 
 
 ---------------------------
 ---------------------------
 
 
-What:	'time' kernel boot parameter
-When:	January 2008
-Why:	replaced by 'printk.time=<value>' so that printk timestamps can be
-	enabled or disabled as needed
-Who:	Randy Dunlap <randy.dunlap@oracle.com>
-
----------------------------
-
 What: libata spindown skipping and warning
 What: libata spindown skipping and warning
 When: Dec 2008
 When: Dec 2008
 Why:  Some halt(8) implementations synchronize caches for and spin
 Why:  Some halt(8) implementations synchronize caches for and spin

+ 0 - 3
Documentation/kernel-parameters.txt

@@ -1973,9 +1973,6 @@ and is between 256 and 4096 characters. It is defined in the file
 			<deci-seconds>: poll all this frequency
 			<deci-seconds>: poll all this frequency
 			0: no polling (default)
 			0: no polling (default)
 
 
-	time		Show timing data prefixed to each printk message line
-			[deprecated, see 'printk.time']
-
 	tipar.timeout=	[HW,PPT]
 	tipar.timeout=	[HW,PPT]
 			Set communications timeout in tenths of a second
 			Set communications timeout in tenths of a second
 			(default 15).
 			(default 15).

+ 0 - 13
kernel/printk.c

@@ -566,19 +566,6 @@ static int printk_time = 0;
 #endif
 #endif
 module_param_named(time, printk_time, bool, S_IRUGO | S_IWUSR);
 module_param_named(time, printk_time, bool, S_IRUGO | S_IWUSR);
 
 
-static int __init printk_time_setup(char *str)
-{
-	if (*str)
-		return 0;
-	printk_time = 1;
-	printk(KERN_NOTICE "The 'time' option is deprecated and "
-		"is scheduled for removal in early 2008\n");
-	printk(KERN_NOTICE "Use 'printk.time=<value>' instead\n");
-	return 1;
-}
-
-__setup("time", printk_time_setup);
-
 /* Check if we have any console registered that can be called early in boot. */
 /* Check if we have any console registered that can be called early in boot. */
 static int have_callable_console(void)
 static int have_callable_console(void)
 {
 {