diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2020-08-19 17:50:40 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2021-01-03 20:10:54 -0500 |
commit | d17b9ec777d86c590a77a404565be5d6005f2fe2 (patch) | |
tree | 263a32a58b9690baa08cffad7839c3c87a5eb9c3 /arch/sparc/include/asm/thread_info_64.h | |
parent | 5c8fe583cce542aa0b84adc939ce85293de36e5e (diff) | |
download | linux-d17b9ec777d86c590a77a404565be5d6005f2fe2.tar.bz2 |
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/include/asm/thread_info_64.h')
-rw-r--r-- | arch/sparc/include/asm/thread_info_64.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/thread_info_64.h b/arch/sparc/include/asm/thread_info_64.h index 42cd4cd3892e..8047a9caab2f 100644 --- a/arch/sparc/include/asm/thread_info_64.h +++ b/arch/sparc/include/asm/thread_info_64.h @@ -118,6 +118,7 @@ struct thread_info { .task = &tsk, \ .current_ds = ASI_P, \ .preempt_count = INIT_PREEMPT_COUNT, \ + .kregs = (struct pt_regs *)(init_stack+THREAD_SIZE)-1 \ } /* how to get the thread information struct from C */ |