lkml.org 
[lkml]   [2015]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 09/11] kernel/cpu.c: remove new instance of __cpuinit that crept back in
    Date
    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>
    ---
    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 01:21    [W:2.491 / U:0.196 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site