parisc: Move thread_info into task struct
authorHelge Deller <deller@gmx.de>
Fri, 15 Oct 2021 08:41:03 +0000 (10:41 +0200)
committerHelge Deller <deller@gmx.de>
Mon, 1 Nov 2021 06:35:59 +0000 (07:35 +0100)
commit2214c0e77259b420402e279e9ab4277ef320d371
tree2533ae4177d0ac79d41446b273e90243d30bd3e5
parentbc294838cc3443a2fbec58f8936ad4bd0a0b3055
parisc: Move thread_info into task struct

This implements the CONFIG_THREAD_INFO_IN_TASK option.

With this change:
- before thread_info was part of the stack and located at the beginning of the stack
- now the thread_info struct is moved and located inside the task_struct structure
- the stack is allocated and handled like the major other platforms
- drop the cpu field of thread_info and use instead the one in task_struct

Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sven Schnelle <svens@stackframe.org>
15 files changed:
Documentation/features/core/thread-info-in-task/arch-support.txt
arch/parisc/Kconfig
arch/parisc/include/asm/current.h [new file with mode: 0644]
arch/parisc/include/asm/processor.h
arch/parisc/include/asm/smp.h
arch/parisc/include/asm/thread_info.h
arch/parisc/kernel/asm-offsets.c
arch/parisc/kernel/entry.S
arch/parisc/kernel/head.S
arch/parisc/kernel/irq.c
arch/parisc/kernel/process.c
arch/parisc/kernel/smp.c
arch/parisc/kernel/syscall.S
arch/parisc/kernel/traps.c
arch/parisc/kernel/unwind.c