Commit 1fa4f3b5 authored by Namhyung Kim's avatar Namhyung Kim Committed by Arnd Bergmann

init/main.c: remove BKL notations

According to commit 5e3d20a6
(init: Remove the BKL from startup code) these sparse notations
should be removed also.
Signed-off-by: default avatarNamhyung Kim <namhyung@gmail.com>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 01b284f9
...@@ -424,7 +424,6 @@ static void __init setup_command_line(char *command_line) ...@@ -424,7 +424,6 @@ static void __init setup_command_line(char *command_line)
static __initdata DECLARE_COMPLETION(kthreadd_done); static __initdata DECLARE_COMPLETION(kthreadd_done);
static noinline void __init_refok rest_init(void) static noinline void __init_refok rest_init(void)
__releases(kernel_lock)
{ {
int pid; int pid;
...@@ -819,7 +818,6 @@ static void run_init_process(const char *init_filename) ...@@ -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 * makes it inline to init() and it becomes part of init.text section
*/ */
static noinline int init_post(void) static noinline int init_post(void)
__releases(kernel_lock)
{ {
/* need to finish all async __init code before freeing the memory */ /* need to finish all async __init code before freeing the memory */
async_synchronize_full(); async_synchronize_full();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment