summaryrefslogtreecommitdiff
path: root/arch/s390/kernel/init_task.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2008-11-27 11:05:58 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2008-11-27 11:06:58 +0100
commit0778dc3a624b48cf80072b04405cacd1ad4079be (patch)
tree823b35f2c4947e32f4fa622c64904490f3f6f096 /arch/s390/kernel/init_task.c
parent2944a5c971c12766e2438ea407ec3567949c32b7 (diff)
[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>
Diffstat (limited to 'arch/s390/kernel/init_task.c')
-rw-r--r--arch/s390/kernel/init_task.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/init_task.c b/arch/s390/kernel/init_task.c
index 7ad003969251..e80716843619 100644
--- a/arch/s390/kernel/init_task.c
+++ b/arch/s390/kernel/init_task.c
@@ -26,7 +26,7 @@ EXPORT_SYMBOL(init_mm);
/*
* Initial thread structure.
*
- * We need to make sure that this is 8192-byte aligned due to the
+ * We need to make sure that this is THREAD_SIZE aligned due to the
* way process stacks are handled. This is done by having a special
* "init_task" linker map entry..
*/