]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb5ffb6d65741877df8941b21a4131981b5286752
tree3aee652f6e24def006eebab958bb478512ae826d
parent336460560d6496825f9cf6d8e9b0c8ca4ef159d1
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