powerpc/64s: Optimise clearing of MSR_EE in masked_[H]interrupt()
authorNicholas Piggin <npiggin@gmail.com>
Fri, 11 Aug 2017 16:39:00 +0000 (02:39 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 23 Aug 2017 13:06:48 +0000 (23:06 +1000)
commit6e9a2f6ebac457dd81c531473c1364514907e5a7
treee1294d2e0f6592cf7ae7ba7b44ab6c14b7832ccf
parente0c827c09c0d04d77616a4506a71b3d5b0cf07e8
powerpc/64s: Optimise clearing of MSR_EE in masked_[H]interrupt()

MSR_EE is always enabled in SRR1 for masked interrupts, so we can use
xor to clear it.

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