init/main.c: remove BKL notations
authorNamhyung Kim <namhyung@gmail.com>
Mon, 27 Sep 2010 07:06:54 +0000 (16:06 +0900)
committerArnd Bergmann <arnd@arndb.de>
Tue, 19 Oct 2010 09:29:58 +0000 (11:29 +0200)
According to commit 5e3d20a68f63fc5a310687d81956c3b96e488b84
(init: Remove the BKL from startup code) these sparse notations
should be removed also.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
init/main.c

index 94ab488039aab1dde97d442f785046475f09c978..cb0b927c101a35a252ec084c3bb59e376c9ca0b9 100644 (file)
@@ -424,7 +424,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;
 
@@ -819,7 +818,6 @@ static void run_init_process(const 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();