Skip to content

Commit

Permalink
powerpc: Update a BKL related comment
Browse files Browse the repository at this point in the history
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 <abogani@texware.it>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
  • Loading branch information
Alessio Igor Bogani authored and Benjamin Herrenschmidt committed Nov 18, 2010
1 parent 82ae5ea commit 0f6b77c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions arch/powerpc/kernel/setup_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 0f6b77c

Please sign in to comment.