Skip to contentSkip to conversation

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

PATCH Superseded Namhyung Kim 2 participants 2 messages Aug 15, 2010 – Aug 16, 2010

lore
Share & tools
lore
#0 lore raw

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

commit 5e3d20a68f63fc5a310687d81956c3b96e488b84 removed BKL from the startup path so these notations should be removed also.

---
 init/main.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
init/main.c +0 -2
index 5a0be5c..96ed802 100644
@@ -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();
Signature · 1 line
1.7.0.4