]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9273f92dbd3cc920d821f1f0ad70e8bd586b845f
tree1ec965d62a5e41ba6741721327482fd13a3a14e9
parent5e5d5ddfa011e06e9e52f1ffaf09d55e16a28588
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