public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] init/main.c: remove __releases(kernel_lock) notations
@ 2010-08-15 10:25 Namhyung Kim
  2010-08-16  6:59 ` Arnd Bergmann
  0 siblings, 1 reply; 2+ messages in thread
From: Namhyung Kim @ 2010-08-15 10:25 UTC (permalink / raw)
  To: Ingo Molnar, Andrew Morton; +Cc: linux-kernel

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-16  7:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-15 10:25 [PATCH] init/main.c: remove __releases(kernel_lock) notations Namhyung Kim
2010-08-16  6:59 ` Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox