]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] Fix alignment of initial kernel stack.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 27 Nov 2008 10:05:58 +0000 (11:05 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 27 Nov 2008 10:06:58 +0000 (11:06 +0100)
commite5d9e62acec43113c7472ef1b4b0f2325edcf7e2
tree823b35f2c4947e32f4fa622c64904490f3f6f096
parenta76bd81719934add927d9f3c366e6669ca36a950
[S390] Fix alignment of initial kernel stack.

We need an alignment of 16384 bytes for the initial kernel stack if
the kernel is configured for 16384 bytes stacks but the linker script
currently guarantees only an alignment of 8192 bytes.

So fix this and simply use THREAD_SIZE as alignment value which will
always do the right thing.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/init_task.c
arch/s390/kernel/vmlinux.lds.S