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)
committerVarun Wadekar <vwadekar@nvidia.com>
Fri, 18 May 2012 10:30:44 +0000 (15:30 +0530)
commitf710b49f16e6488974604a01c5d8267c89be939d
treee32a4cac9fea62392b70b7bda181554afdbc6fcc
parent102dd36dd50a5f1b9a6ff6e21f07636d6427ae66
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