linux/arch/sh
Stuart Menefy f2fb4e4f64 sh: Conditionally re-enable IRQs in fault path.
The current kernel behaviour is to reenable interrupts unconditionally
when taking a page fault. This patch changes this to only enable them
if interrupts were previously enabled.

It also fixes a problem seen with this fix in place: the kernel previously
flushed the vsyscall page when handling a signal, which is not only
unncessary, but caused a possible sleep with interrupts disabled.

Signed-off-by: Stuart Menefy <stuart.menefy@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-07-28 18:10:33 +09:00
..
boards sh: Remove sh_pcic_io_xxx function from Solution Engine IO code 2008-07-28 18:10:32 +09:00
boot inflate: refactor inflate malloc code 2008-07-25 10:53:28 -07:00
cchips sh: Kill off more dead symbols. 2008-02-14 14:22:12 +09:00
configs sh: Update Solution Enginge 7712 defconfig 2008-07-28 18:10:31 +09:00
drivers sh: make pcibios_max_latency static 2008-07-28 18:10:30 +09:00
kernel sh: Conditionally re-enable IRQs in fault path. 2008-07-28 18:10:33 +09:00
lib move arch/sh/lib/io.o to obj-y 2008-07-28 18:10:28 +09:00
lib64 sh64: Fix up compile warning in event tracer. 2008-05-08 19:51:37 +09:00
math-emu
mm sh: Conditionally re-enable IRQs in fault path. 2008-07-28 18:10:33 +09:00
oprofile sh: Add -Werror for clean directories. 2007-11-07 11:13:55 +09:00
tools sh: Renesas Solutions SH7763RDP board support 2008-07-28 18:10:30 +09:00
Kconfig sh: Fix Kconfig of AP-325RXA 2008-07-28 18:10:31 +09:00
Kconfig.cpu sh: Disable big endian for SH-5. 2008-02-14 14:22:10 +09:00
Kconfig.debug sh: Disable 4KSTACKS on nommu. 2008-06-02 13:48:59 +09:00
Makefile sh: Renesas Solutions SH7763RDP board support 2008-07-28 18:10:30 +09:00