s390/mm: ensure switch_mm() is executed with interrupts disabled
authorAlexander Gordeev <agordeev@linux.ibm.com>
Thu, 6 May 2021 18:06:00 +0000 (20:06 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 7 Jun 2021 15:06:59 +0000 (17:06 +0200)
commitbdb8c9353ead1a4176e9ba034ea7ceb210c8a59c
tree6670cffbce3805d715ebaed93fef07cf425ca7b6
parent27c1dac0b6d8c3b640e24a1b762c7244fbb116fd
s390/mm: ensure switch_mm() is executed with interrupts disabled

Architecture callback switch_mm() is allowed to be called with
enabled interrupts. However, our implementation of switch_mm()
does not expect that. Let's follow other architectures and make
sure switch_mm() is always executed with interrupts disabled,
regardless of what happens with the generic kernel code in the
future.

Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/mmu_context.h