diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2023-03-27 11:37:22 +0200 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2023-04-04 18:34:55 +0200 |
commit | c2c3258fb55a0f51ea4a3c2cd4c29b23a64b151e (patch) | |
tree | 06bc6c83632d3988c626217143b36a304accb1e2 /arch/s390/kernel/head64.S | |
parent | e6badee94027a4e9586e6b5d087bc96e9e4d554c (diff) | |
download | linux-c2c3258fb55a0f51ea4a3c2cd4c29b23a64b151e.tar.gz linux-c2c3258fb55a0f51ea4a3c2cd4c29b23a64b151e.tar.bz2 linux-c2c3258fb55a0f51ea4a3c2cd4c29b23a64b151e.zip |
s390/stack: use STACK_INIT_OFFSET where possible
Make STACK_INIT_OFFSET also available for assembler code, and
use it everywhere instead of open-coding it at several places.
Reviewed-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/kernel/head64.S')
-rw-r--r-- | arch/s390/kernel/head64.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/head64.S b/arch/s390/kernel/head64.S index f68be3951103..82399b4b5f8a 100644 --- a/arch/s390/kernel/head64.S +++ b/arch/s390/kernel/head64.S @@ -24,7 +24,7 @@ ENTRY(startup_continue) # larl %r14,init_task stg %r14,__LC_CURRENT - larl %r15,init_thread_union+THREAD_SIZE-STACK_FRAME_OVERHEAD-__PT_SIZE + larl %r15,init_thread_union+STACK_INIT_OFFSET brasl %r14,sclp_early_adjust_va # allow sclp_early_printk brasl %r14,startup_init # s390 specific early init brasl %r14,start_kernel # common init code |