On Wed, 12 Dec 2007, Greg Ungerer wrote:
> Hi Thomas,
>
> Thomas Chou wrote:
> > Make sure the init_task is aligned to the kernel thread size so we can
> > locate the kernel stack properly and quickly.
> >
> > Signed-off-by: Thomas Chou <[EMAIL PROTECTED]>
>
> Applied, thanks.
>
> Regards
> Greg
>
>
>
> > diff --git a/linux-2.6.x/arch/nios2nommu/kernel/vmlinux.lds.S
> > b/linux-2.6.x/arch/nios2nommu/kernel/vmlinux.lds.S
> > index 491901c..05b6b2b 100644
> > --- a/linux-2.6.x/arch/nios2nommu/kernel/vmlinux.lds.S
> > +++ b/linux-2.6.x/arch/nios2nommu/kernel/vmlinux.lds.S
> > @@ -43,7 +43,7 @@ SECTIONS
> > * arch/mips/kernel/init_task.c:30: warning: alignment of
> > ‘init_thread_union’
> > * is greater than maximum object file alignment. Using 32768
> > */
> > - . = ALIGN(4096);
> > + . = ALIGN(8192); /* MUST be 8192, the THREAD_SIZE */
> > *(.data.init_task)
> > *(.data)
is the macro THREAD_SIZE not defined so that it can be used instead of
hardcoding the value 8192?
rday
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA
http://crashcourse.ca
========================================================================
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev