[PATCH] init/main.c: remove __releases(kernel_lock) notations

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Namhyung Kim
Date: Sunday, August 15, 2010 - 3:25 am

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

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] init/main.c: remove __releases(kernel_lock) notations, Namhyung Kim, (Sun Aug 15, 3:25 am)