]> 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)
commitb75fe9a28b61eaf6d11b21817f0b4f2b97655233
tree3aee652f6e24def006eebab958bb478512ae826d
parentc2190354e710d1c653b71603861bca03d2114226
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