From: Vasily Gorbik Date: Fri, 22 Nov 2019 16:15:35 +0000 (+0100) Subject: s390/head64: correct init_task stack setup X-Git-Tag: v5.15~4977^2~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cb7948e8c3f18f7ff0ab7d0fa1e6b108d938cdd6;p=platform%2Fkernel%2Flinux-starfive.git s390/head64: correct init_task stack setup Add missing allocation of pt_regs at the bottom of the stack. This makes it consistent with other stack setup cases and also what stack unwinder expects. Reviewed-by: Heiko Carstens Signed-off-by: Vasily Gorbik --- diff --git a/arch/s390/kernel/head64.S b/arch/s390/kernel/head64.S index b9e585f..8b88dbb 100644 --- a/arch/s390/kernel/head64.S +++ b/arch/s390/kernel/head64.S @@ -31,7 +31,7 @@ ENTRY(startup_continue) # larl %r14,init_task stg %r14,__LC_CURRENT - larl %r15,init_thread_union+THREAD_SIZE-STACK_FRAME_OVERHEAD + larl %r15,init_thread_union+THREAD_SIZE-STACK_FRAME_OVERHEAD-__PT_SIZE #ifdef CONFIG_KASAN brasl %r14,kasan_early_init #endif