aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/feature-removal-schedule.txt8
-rw-r--r--Documentation/kernel-parameters.txt4
-rw-r--r--kernel/printk.c5
3 files changed, 16 insertions, 1 deletions
diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt
index 4f69470e52d6..f5d6f4d1624d 100644
--- a/Documentation/feature-removal-schedule.txt
+++ b/Documentation/feature-removal-schedule.txt
@@ -257,6 +257,14 @@ Who: Jean Delvare <khali@linux-fr.org>
257 257
258--------------------------- 258---------------------------
259 259
260What: 'time' kernel boot parameter
261When: January 2008
262Why: replaced by 'printk.time=<value>' so that printk timestamps can be
263 enabled or disabled as needed
264Who: Randy Dunlap <randy.dunlap@oracle.com>
265
266---------------------------
267
260What: drivers depending on OSS_OBSOLETE 268What: drivers depending on OSS_OBSOLETE
261When: options in 2.6.23, code in 2.6.25 269When: options in 2.6.23, code in 2.6.25
262Why: obsolete OSS drivers 270Why: obsolete OSS drivers
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index ab38322111c4..a0362d5a911e 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -1389,6 +1389,9 @@ and is between 256 and 4096 characters. It is defined in the file
1389 the kernel console. 1389 the kernel console.
1390 default: off. 1390 default: off.
1391 1391
1392 printk.time= Show timing data prefixed to each printk message line
1393 Format: <bool> (1/Y/y=enable, 0/N/n=disable)
1394
1392 profile= [KNL] Enable kernel profiling via /proc/profile 1395 profile= [KNL] Enable kernel profiling via /proc/profile
1393 Format: [schedule,]<number> 1396 Format: [schedule,]<number>
1394 Param: "schedule" - profile schedule points. 1397 Param: "schedule" - profile schedule points.
@@ -1824,6 +1827,7 @@ and is between 256 and 4096 characters. It is defined in the file
1824 Set number of hash buckets for TCP connection 1827 Set number of hash buckets for TCP connection
1825 1828
1826 time Show timing data prefixed to each printk message line 1829 time Show timing data prefixed to each printk message line
1830 [deprecated, see 'printk.time']
1827 1831
1828 tipar.timeout= [HW,PPT] 1832 tipar.timeout= [HW,PPT]
1829 Set communications timeout in tenths of a second 1833 Set communications timeout in tenths of a second
diff --git a/kernel/printk.c b/kernel/printk.c
index f46cc6dff46e..fccacf706f53 100644
--- a/kernel/printk.c
+++ b/kernel/printk.c
@@ -449,13 +449,16 @@ static int printk_time = 1;
449#else 449#else
450static int printk_time = 0; 450static int printk_time = 0;
451#endif 451#endif
452module_param(printk_time, int, S_IRUGO | S_IWUSR); 452module_param_named(time, printk_time, bool, S_IRUGO | S_IWUSR);
453 453
454static int __init printk_time_setup(char *str) 454static int __init printk_time_setup(char *str)
455{ 455{
456 if (*str) 456 if (*str)
457 return 0; 457 return 0;
458 printk_time = 1; 458 printk_time = 1;
459 printk(KERN_NOTICE "The 'time' option is deprecated and "
460 "is scheduled for removal in early 2008\n");
461 printk(KERN_NOTICE "Use 'printk.time=<value>' instead\n");
459 return 1; 462 return 1;
460} 463}
461 464