lkml.org 
[lkml]   [2015]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 09/11] kernel/cpu.c: remove new instance of __cpuinit that crept back in
On Mon, Apr 27, 2015 at 06:47:58PM -0400, Paul Gortmaker wrote:
> We removed __cpuinit support (leaving no-op stubs) quite some time ago.
> However a new instance was added in commit 00df35f991914db6b8bde8cf0980
> ("cpu: Defer smpboot kthread unparking until CPU known to scheduler")
>
> Since we want to clobber the stubs soon, get this removed now.
>
> Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>

Good catch, queued for 4.2. Please let me know if you need it sooner.

Thanx, Paul

> ---
> kernel/cpu.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/cpu.c b/kernel/cpu.c
> index 94bbe4695232..b4e940d89087 100644
> --- a/kernel/cpu.c
> +++ b/kernel/cpu.c
> @@ -479,7 +479,7 @@ static struct notifier_block smpboot_thread_notifier = {
> .priority = CPU_PRI_SMPBOOT,
> };
>
> -void __cpuinit smpboot_thread_init(void)
> +void smpboot_thread_init(void)
> {
> register_cpu_notifier(&smpboot_thread_notifier);
> }
> --
> 2.2.1
>



\
 
 \ /
  Last update: 2015-04-28 15:41    [W:0.127 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site