[PATCH 01/10] arm/zImage: don't hard code the stack size twice

Nicolas Pitre nico at fluxnic.net
Thu Jun 10 14:47:40 EDT 2010


On Thu, 10 Jun 2010, Eric Miao wrote:

> 2010/6/10 Uwe Kleine-König <u.kleine-koenig at pengutronix.de>:
> > Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
> > ---
> >  arch/arm/boot/compressed/head.S |    3 ++-
> >  1 files changed, 2 insertions(+), 1 deletions(-)
> >
> > diff --git a/arch/arm/boot/compressed/head.S b/arch/arm/boot/compressed/head.S
> > index c5191b1..390aa92 100644
> > --- a/arch/arm/boot/compressed/head.S
> > +++ b/arch/arm/boot/compressed/head.S
> > @@ -315,7 +315,7 @@ LC0:                .word   LC0                     @ r1
> >                .word   _image_size             @ r6
> >                .word   _got_start              @ r11
> >                .word   _got_end                @ ip
> > -               .word   user_stack+4096         @ sp
> > +               .word   user_stack_end          @ sp
> >  LC1:           .word   reloc_end - reloc_start
> >                .size   LC0, . - LC0
> >
> > @@ -1070,3 +1070,4 @@ reloc_end:
> >                .align
> >                .section ".stack", "w"
> >  user_stack:    .space  4096
> > +user_stack_end:
> 
> This one looks OK to me.
> 
> Acked-by: Eric Miao <eric.miao at canonical.com>

Acked-by: Nicolas Pitre <nicolas.pitre at linaro.org>


Nicolas


More information about the linux-arm-kernel mailing list