powerpc/64s: Avoid a branch in masked_[H]interrupt()
authorNicholas Piggin <[email protected]>
Fri, 11 Aug 2017 16:38:59 +0000 (02:38 +1000)
committerMichael Ellerman <[email protected]>
Wed, 23 Aug 2017 13:02:48 +0000 (23:02 +1000)
commite0c827c09c0d04d77616a4506a71b3d5b0cf07e8
treea81445323ca0ea2c741016b44d1b24e79f8cfd4d
parent3a2df3798d4da2fc40052c25f0d9c687b1467d53
powerpc/64s: Avoid a branch in masked_[H]interrupt()

Interrupts which do not require EE to be cleared can all be tested
with a single bitwise test.

Signed-off-by: Nicholas Piggin <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
arch/powerpc/kernel/exceptions-64s.S