From: Alessio Igor Bogani Date: Tue, 16 Nov 2010 07:55:16 +0000 (+0000) Subject: powerpc: Update a BKL related comment X-Git-Tag: v2.6.37-rc3~21^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0f6b77ca12bea571e0a97b0588f62aa5f6012d61;p=profile%2Fivi%2Fkernel-x86-ivi.git powerpc: Update a BKL related comment The commit 5e3d20a remove bkl from startup code so setup_arch() it isn't called with bkl held anymore. Update the comment on top of that function. Fix also a typo. This work was supported by a hardware donation from the CE Linux Forum. Signed-off-by: Alessio Igor Bogani Signed-off-by: Benjamin Herrenschmidt --- diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c index 2a178b0..ce6f61c 100644 --- a/arch/powerpc/kernel/setup_64.c +++ b/arch/powerpc/kernel/setup_64.c @@ -497,9 +497,8 @@ static void __init emergency_stack_init(void) } /* - * Called into from start_kernel, after lock_kernel has been called. - * Initializes bootmem, which is unsed to manage page allocation until - * mem_init is called. + * Called into from start_kernel this initializes bootmem, which is used + * to manage page allocation until mem_init is called. */ void __init setup_arch(char **cmdline_p) {