OSDN Git Service

powerpc: Remove misleading DISABLE_INTS
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 15 Jul 2014 11:15:38 +0000 (21:15 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 28 Jul 2014 04:11:24 +0000 (14:11 +1000)
commit9daf112bd41ee9ca24a9a87adc70f70400a2ba5b
tree1ec965d62a5e41ba6741721327482fd13a3a14e9
parenta1d711c53f413db330da57bfaf53255a5d62447e
powerpc: Remove misleading DISABLE_INTS

DISABLE_INTS has a long and storied history, but for some time now it
has not actually disabled interrupts.

For the open-coded exception handlers, just stop using it, instead call
RECONCILE_IRQ_STATE directly. This has the benefit of removing a level
of indirection, and making it clear that r10 & r11 are used at that
point.

For the addition case we still need a macro, so rename it to clarify
what it actually does.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/exception-64s.h
arch/powerpc/kernel/exceptions-64s.S