]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8d611868f0929d7ba08918363e216bb6af1dc111
tree6c4ba98f878736e107a8e64897e8244ee1b23be9
parentfde9d2f53766d7137584706cd5a905e24ddc03a3
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