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

From: Namhyung Kim
Date: Sun Aug 15 2010 - 11:33:11 EST


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

Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/