lkml.org 
[lkml]   [2010]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] init/main.c: remove __releases(kernel_lock) notations
    Date
    commit 5e3d20a68f63fc5a310687d81956c3b96e488b84 removed BKL from the startup
    path so these notations should be removed also.

    Signed-off-by: Namhyung Kim <namhyung@gmail.com>
    ---
    init/main.c | 2 --
    1 files changed, 0 insertions(+), 2 deletions(-)

    diff --git a/init/main.c b/init/main.c
    index 5a0be5c..96ed802 100644
    --- a/init/main.c
    +++ b/init/main.c
    @@ -428,7 +428,6 @@ static void __init setup_command_line(char *command_line)
    static __initdata DECLARE_COMPLETION(kthreadd_done);

    static noinline void __init_refok rest_init(void)
    - __releases(kernel_lock)
    {
    int pid;

    @@ -823,7 +822,6 @@ static void run_init_process(char *init_filename)
    * makes it inline to init() and it becomes part of init.text section
    */
    static noinline int init_post(void)
    - __releases(kernel_lock)
    {
    /* need to finish all async __init code before freeing the memory */
    async_synchronize_full();
    --
    1.7.0.4


    \
     
     \ /
      Last update: 2010-08-15 17:35    [W:0.019 / U:31.476 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site