linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] powerpc: Update a comment
@ 2010-11-16 17:55 Alessio Igor Bogani
  0 siblings, 0 replies; 3+ messages in thread
From: Alessio Igor Bogani @ 2010-11-16 17:55 UTC (permalink / raw)
  To: Benjamin Herrenschmidt, Paul Mackerras
  Cc: Josh Boyer, linux-kernel, Arnd Bergmann, Tim Bird, linuxppc-dev,
	Alessio Igor Bogani

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>
---
 arch/powerpc/kernel/setup_64.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

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)
 {
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] powerpc: Update a comment
  2010-11-15  8:21 Alessio Igor Bogani
@ 2010-11-16 11:33 ` Josh Boyer
  0 siblings, 0 replies; 3+ messages in thread
From: Josh Boyer @ 2010-11-16 11:33 UTC (permalink / raw)
  To: Alessio Igor Bogani
  Cc: Benjamin Herrenschmidt, Paul Mackerras, linux-kernel,
	Arnd Bergmann, Tim Bird, linuxppc-dev

On Mon, Nov 15, 2010 at 3:21 AM, Alessio Igor Bogani <abogani@texware.it> wrote:
> 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.

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

>
> Signed-off-by: Alessio Igor Bogani <abogani@texware.it>
> ---
>  arch/powerpc/kernel/setup_64.c |    5 ++---
>  1 files changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c
> index 2a178b0..71f44e5 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 unsed
> + * to manage page allocation until mem_init is called.

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

josh

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] powerpc: Update a comment
@ 2010-11-15  8:21 Alessio Igor Bogani
  2010-11-16 11:33 ` Josh Boyer
  0 siblings, 1 reply; 3+ messages in thread
From: Alessio Igor Bogani @ 2010-11-15  8:21 UTC (permalink / raw)
  To: Benjamin Herrenschmidt, Paul Mackerras
  Cc: linux-kernel, Arnd Bergmann, Tim Bird, Alessio Igor Bogani

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.

Signed-off-by: Alessio Igor Bogani <abogani@texware.it>
---
 arch/powerpc/kernel/setup_64.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c
index 2a178b0..71f44e5 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 unsed
+ * to manage page allocation until mem_init is called.
  */
 void __init setup_arch(char **cmdline_p)
 {
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-11-16 17:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-16 17:55 [PATCH] powerpc: Update a comment Alessio Igor Bogani
  -- strict thread matches above, loose matches on Subject: below --
2010-11-15  8:21 Alessio Igor Bogani
2010-11-16 11:33 ` Josh Boyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).