s390: open code SWITCH_KERNEL macro
authorSven Schnelle <svens@linux.ibm.com>
Thu, 28 Jan 2021 12:06:05 +0000 (13:06 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Sat, 13 Feb 2021 16:17:53 +0000 (17:17 +0100)
commitb0d31159a46787380353426faaad8febc9bef009
tree6c4ba98f878736e107a8e64897e8244ee1b23be9
parent1c7673476b82983768c6a4dd78775f817f0e0f88
s390: open code SWITCH_KERNEL macro

This is a preparation patch for two later bugfixes. In the past both
int_handler and machine check handler used SWITCH_KERNEL to switch to
the kernel stack. However, SWITCH_KERNEL doesn't work properly in machine
check context. So instead of adding more complexity to this macro, just
remove it.

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Cc: <stable@kernel.org> # v5.8+
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/entry.S