how do I increase default kernel stack size for my MPC8548 board?

Scott Wood scottwood at freescale.com
Fri Mar 14 11:11:40 EST 2014


On Tue, 2014-03-11 at 07:19 -0700, perth1415 wrote:
> Looks like I found the issue :-) The stack size for init task needs to be
> updated too. Right now it's by default set to 8K for PPC32.
> 
> In arch/powerpc/kernel/vmlinux.lds.S -
> ===
>     /* The initial task and kernel stack */
> #ifdef CONFIG_PPC32
>     . = ALIGN(8192);
> #else
>     . = ALIGN(16384);
> #endif
> ===
> 
> Problem is, how do we link this to THREAD_SHIFT?

Have you tried:

	. = ALIGN(THREAD_SIZE)

?

Or just use a newer kernel, where this is already done. :-)

-Scott




More information about the Linuxppc-dev mailing list