]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64s: masked_interrupt() returns to kernel so avoid restoring r13
authorNicholas Piggin <npiggin@gmail.com>
Fri, 11 Aug 2017 16:39:01 +0000 (02:39 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 23 Aug 2017 13:11:28 +0000 (23:11 +1000)
commit198186411811187377375c1a436830ec53b184d7
treef96e66e3e48fdc3acd16678e4fb60d1c9298649e
parent42961478517aef929a5f936d04a94922b4856bd9
powerpc/64s: masked_interrupt() returns to kernel so avoid restoring r13

Places in the kernel where r13 is not the PACA pointer must have
maskable interrupts disabled, so r13 does not have to be restored when
returning from a soft-masked interrupt. We should never have
interrupts soft disabled when we're in user space.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/exceptions-64s.S