powerpc/irq: Make alignment & program interrupt behave the same
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 8 May 2012 03:38:50 +0000 (13:38 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 8 May 2012 23:42:33 +0000 (09:42 +1000)
commita3512b2dd57cb653bb33645ca9c934436e547e3c
tree3aee652f6e24def006eebab958bb478512ae826d
parent56dfa7fa19e36db352a94be022243ed461710119
powerpc/irq: Make alignment & program interrupt behave the same

Alignment was the last user of the ENABLE_INTS macro, which we can
now remove. All non-syscall exceptions now disable interrupts on
entry, they get re-enabled conditionally from C code. Don't
unconditionally re-enable in program check either, check the
original context.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/exception-64s.h
arch/powerpc/kernel/exceptions-64s.S
arch/powerpc/kernel/traps.c