linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle.com>
To: Adrian Bunk <bunk@kernel.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [2.6 patch] the scheduled 'time' option removal
Date: Sun, 20 Jan 2008 09:31:38 -0800	[thread overview]
Message-ID: <4793857A.5030802@oracle.com> (raw)
In-Reply-To: <20080120140213.GG8669@does.not.exist>

Adrian Bunk wrote:
> On Tue, Jan 01, 2008 at 06:07:51PM -0800, Randy Dunlap wrote:
>> On Tue, 1 Jan 2008 15:46:56 +0200 Adrian Bunk wrote:
>>
>>> This patch contains the scheduled removal of the 'time' option.
>>>
>>> Signed-off-by: Adrian Bunk <bunk@kernel.org>
>> Thanks.  Looks good except that Documentation/kernel-parameters.txt
>> needs a patch also:  delete these 3 lines:
>>
>> 	time		Show timing data prefixed to each printk message line
>> 			[deprecated, see 'printk.time']
>>
>> then I will Ack it.
> 
> Ups, sorry, fixed patch below.
> 
> cu
> Adrian
> 
> 
> <--  snip  -->
> 
> 
> This patch contains the scheduled removal of the 'time' option.
> 
> Signed-off-by: Adrian Bunk <bunk@kernel.org>

Acked-by: Randy Dunlap <randy.dunlap@oracle.com>

Thanks, Adrian.


> ---
> 
>  Documentation/feature-removal-schedule.txt |    8 --------
>  Documentation/kernel-parameters.txt        |    3 ---
>  kernel/printk.c                            |   13 -------------
>  3 files changed, 24 deletions(-)
> 
> 84ec4030ca61db7f80b6d761acb7d12255cc5cf6 
> diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt
> index 20c4c8b..93aac19 100644
> --- a/Documentation/feature-removal-schedule.txt
> +++ b/Documentation/feature-removal-schedule.txt
> @@ -233,14 +233,6 @@ Who:	Jean Delvare <khali@linux-fr.org>
>  
>  ---------------------------
>  
> -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:  drivers depending on OSS_OBSOLETE
>  When:  options in 2.6.23, code in 2.6.25
>  Why:   obsolete OSS drivers
> diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
> index c417877..79afb11 100644
> --- a/Documentation/kernel-parameters.txt
> +++ b/Documentation/kernel-parameters.txt
> @@ -1899,9 +1899,6 @@ and is between 256 and 4096 characters. It is defined in the file
>  			<deci-seconds>: poll all this frequency
>  			0: no polling (default)
>  
> -	time		Show timing data prefixed to each printk message line
> -			[deprecated, see 'printk.time']
> -
>  	tipar.timeout=	[HW,PPT]
>  			Set communications timeout in tenths of a second
>  			(default 15).
> diff --git a/kernel/printk.c b/kernel/printk.c
> index 89011bf..3aa8749 100644
> --- a/kernel/printk.c
> +++ b/kernel/printk.c
> @@ -560,19 +560,6 @@ static int printk_time = 0;
>  #endif
>  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);
> -
>  __attribute__((weak)) unsigned long long printk_clock(void)
>  {
>  	return sched_clock();
> 


-- 
~Randy

      reply	other threads:[~2008-01-20 17:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-01 13:46 [2.6 patch] the scheduled 'time' option removal Adrian Bunk
2008-01-01 17:53 ` Jan Engelhardt
2008-01-01 23:57   ` Adrian Bunk
2008-01-02  2:07 ` Randy Dunlap
2008-01-20 14:02   ` Adrian Bunk
2008-01-20 17:31     ` Randy Dunlap [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4793857A.5030802@oracle.com \
    --to=randy.dunlap@oracle.com \
    --cc=bunk@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).