summaryrefslogtreecommitdiff
path: root/arch/sparc/kernel/head_64.S
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2020-08-20 00:50:40 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2021-01-04 04:10:54 +0300
commitd17b9ec777d86c590a77a404565be5d6005f2fe2 (patch)
tree263a32a58b9690baa08cffad7839c3c87a5eb9c3 /arch/sparc/kernel/head_64.S
parent5c8fe583cce542aa0b84adc939ce85293de36e5e (diff)
downloadlinux-d17b9ec777d86c590a77a404565be5d6005f2fe2.tar.xz
sparc64: get rid of fake_swapper_regs
no reason to have ->kregs of initial thread set up in a special way - we can keep them on stack, same as for every other thread. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/sparc/kernel/head_64.S')
-rw-r--r--arch/sparc/kernel/head_64.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/head_64.S b/arch/sparc/kernel/head_64.S
index c5ff2472b3d9..72a5bdc833ea 100644
--- a/arch/sparc/kernel/head_64.S
+++ b/arch/sparc/kernel/head_64.S
@@ -706,7 +706,7 @@ tlb_fixup_done:
wr %g0, ASI_P, %asi
mov 1, %g1
sllx %g1, THREAD_SHIFT, %g1
- sub %g1, (STACKFRAME_SZ + STACK_BIAS), %g1
+ sub %g1, (STACKFRAME_SZ + STACK_BIAS + TRACEREG_SZ), %g1
add %g6, %g1, %sp
/* Set per-cpu pointer initially to zero, this makes