s390/switch_to: use generic header file
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 5 Feb 2024 20:32:13 +0000 (21:32 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 12 Feb 2024 14:03:33 +0000 (15:03 +0100)
commit340750c13c3af2fc8cc4f993823a0b82b8a22845
treef3916e53c039609b4fdec0efbb62950e164d63ed
parent304103736ba75be70991cd6336c28121d7bf14f5
s390/switch_to: use generic header file

Move the switch_to() implementation to process.c and use the generic
switch_to.h header file instead, like some other architectures.

This addresses also the oddity that the old switch_to() implementation
assigns the return value of __switch_to() to 'prev' instead of 'last',
like it should.

Remove also all includes of switch_to.h from C files, except process.c.

Acked-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/ptrace.h
arch/s390/include/asm/stacktrace.h
arch/s390/include/asm/switch_to.h [deleted file]
arch/s390/kernel/entry.S
arch/s390/kernel/entry.h
arch/s390/kernel/machine_kexec.c
arch/s390/kernel/nmi.c
arch/s390/kernel/process.c
arch/s390/kernel/ptrace.c
arch/s390/kernel/uprobes.c
drivers/s390/char/zcore.c