]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: don't enable irqs unconditionally in handle_interruption()
authorSven Schnelle <svens@stackframe.org>
Fri, 15 Oct 2021 19:56:12 +0000 (21:56 +0200)
committerHelge Deller <deller@gmx.de>
Thu, 4 Nov 2021 10:21:20 +0000 (11:21 +0100)
commite7b2e0f27ccee6b0680744a33b11a8ad6e0bf9c2
tree77ff43b4ddf4302835e199321e8804e3c8b182b7
parentd67d5bddf5bdb241d17dd14efdc838c00247cdbf
parisc: don't enable irqs unconditionally in handle_interruption()

If the previous context had interrupts disabled, we should better
keep them disabled. This was noticed in the unwinding code where
a copy_from_kernel_nofault() triggered a page fault, and after
the fixup by the page fault handler interrupts where suddenly
enabled.

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/traps.c