summary refs log tree commit diff
path: root/init/main.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2010-09-27 16:06:54 +0900
committerArnd Bergmann <arnd@arndb.de>2010-10-19 11:29:58 +0200
commit1fa4f3b57cf0c525027ea61011312de139b04f9b (patch)
tree2568eb32058e39870a2b739809dadd5c82e95422 /init/main.c
parent01b284f9b6d51cc3f3bcf3b49f16d2601d3ca22d (diff)
downloadlinux-1fa4f3b57cf0c525027ea61011312de139b04f9b.tar.gz
init/main.c: remove BKL notations
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>
Diffstat (limited to 'init/main.c')
-rw-r--r--init/main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/init/main.c b/init/main.c
index 94ab488039aa..cb0b927c101a 100644
--- a/init/main.c
+++ b/init/main.c
@@ -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();