Skip to contentSkip to conversation

powerpc: Update a comment

PATCH In review Alessio Igor Bogani 2 participants 2 messages Nov 15, 2010 – Nov 16, 2010 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc: Update a 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.

This work was supported by a hardware donation from the CE Linux Forum.

---
 arch/powerpc/kernel/setup_64.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
arch/powerpc/kernel/setup_64.c +2 -3
index 2a178b0..71f44e5 100644
@@ -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 unsed
+ * to manage page allocation until mem_init is called.
  */
 void __init setup_arch(char **cmdline_p)
 {
Signature · 1 line
1.7.0.4
#1 lore raw

On Mon, Nov 15, 2010 at 3:21 AM, Alessio Igor Bogani <[email protected]> w= rote:

Quoted 1 line

The commit 5e3d20a remove bkl from startup code so setup_arch() it isn't =

called

Quoted 3 lines

with bkl held anymore. Update the comment on top of that function.

This work was supported by a hardware donation from the CE Linux Forum.

You should make sure to send powerpc patches to linuxppc-dev.

arch/powerpc/kernel/setup_6=

Quoted 7 lines

---
=A0arch/powerpc/kernel/setup_64.c | =A0 =A05 ++--- =A01 files changed, 2 insertions(+), 3 deletions(-)

arch/powerpc/kernel/setup_6= renamed from arch/powerpc/kernel/setup_64.c +0 -0

4.c

Quoted 11 lines

index 2a178b0..71f44e5 100644

arch/powerpc/kernel/setup_64.c +0 -0
@@ -497,9 +497,8 @@ static void __init emergency_stack_init(void)
 =A0}
 

=A0/*
- * 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 unse=

d

Quoted 1 line

+ * to manage page allocation until mem_init is called.

You might as well fix the typo while you're there. unsed->used

josh