Commit 0f6b77ca authored by Alessio Igor Bogani's avatar Alessio Igor Bogani Committed by Benjamin Herrenschmidt

powerpc: Update a BKL related comment

The commit 5e3d20a6 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: default avatarAlessio Igor Bogani <abogani@texware.it>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 82ae5eaf
...@@ -497,9 +497,8 @@ static void __init emergency_stack_init(void) ...@@ -497,9 +497,8 @@ static void __init emergency_stack_init(void)
} }
/* /*
* Called into from start_kernel, after lock_kernel has been called. * Called into from start_kernel this initializes bootmem, which is used
* Initializes bootmem, which is unsed to manage page allocation until * to manage page allocation until mem_init is called.
* mem_init is called.
*/ */
void __init setup_arch(char **cmdline_p) void __init setup_arch(char **cmdline_p)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment