linux/arch/sh/mm
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
..
cache-debugfs.c sh: fix seq_file memory leak 2008-07-28 18:10:27 +09:00
cache-sh2.c sh: Add support for SH7206 and SH7619 CPU subtypes. 2006-12-06 10:45:36 +09:00
cache-sh3.c sh: Fixup cpu_data references for the non-boot CPUs. 2007-02-13 10:54:45 +09:00
cache-sh4.c sh: Optimized flush_icache_range() implementation. 2008-07-28 18:10:32 +09:00
cache-sh5.c sh64: Fixup the nommu build. 2008-05-08 19:51:37 +09:00
cache-sh7705.c sh: Preparation for uncached jumps through PMB. 2008-01-28 13:18:59 +09:00
consistent.c sh: declared coherent memory support V2 fix 2008-02-14 14:22:07 +09:00
extable_32.c sh: Split out extable.c _32 and _64 variants. 2008-01-28 13:18:44 +09:00
extable_64.c sh: comment tidying for sh64->sh migration. 2008-01-28 13:18:58 +09:00
fault_32.c sh: Conditionally re-enable IRQs in fault path. 2008-07-28 18:10:33 +09:00
fault_64.c sh: Kill off a stray proc tlb reference in fault_64. 2008-01-28 13:18:52 +09:00
hugetlbpage.c hugetlb: introduce pud_huge 2008-07-24 10:47:18 -07:00
init.c sh: use generic show_mem() 2008-07-26 12:00:10 -07:00
ioremap_32.c sh: replace remaining __FUNCTION__ occurrences 2008-03-06 11:18:22 +09:00
ioremap_64.c sh64: export onchip_remap/unmap() too. 2008-05-08 19:51:41 +09:00
Kconfig sh: Add support for 16kB PAGE_SIZE. 2008-07-28 18:10:29 +09:00
Makefile sh: Split out extable.c _32 and _64 variants. 2008-01-28 13:18:44 +09:00
Makefile_32 sh: clear/copy_page renames in lib and lib64. 2008-01-28 13:18:54 +09:00
Makefile_64 sh64: Fixup the nommu build. 2008-05-08 19:51:37 +09:00
numa.c mm: move bootmem descriptors definition to a single place 2008-07-24 10:47:14 -07:00
pg-nommu.c sh: Tidy up various clear_page()/copy_page() definitions. 2008-01-28 13:18:50 +09:00
pg-sh4.c sh: Optimized copy_{to,from}_user_page() for SH-4. 2007-11-07 11:14:12 +09:00
pg-sh7705.c sh/mm/pg-sh7705.c must #include <linux/fs.h> 2008-03-06 11:11:49 +09:00
pmb.c sh: fix seq_file memory leak 2008-07-28 18:10:27 +09:00
tlb-nommu.c sh: Provide a stubbed __set_fixmap() for nommu. 2008-01-28 13:19:01 +09:00
tlb-sh3.c sh: Revert lazy dcache writeback changes. 2007-03-05 19:46:47 +09:00
tlb-sh4.c sh: Preparation for uncached jumps through PMB. 2008-01-28 13:18:59 +09:00
tlb-sh5.c sh: comment tidying for sh64->sh migration. 2008-01-28 13:18:58 +09:00
tlbflush_32.c sh: Rename the _32 and _64 TLB flush variants. 2008-01-28 13:18:54 +09:00
tlbflush_64.c sh: replace remaining __FUNCTION__ occurrences 2008-03-06 11:18:22 +09:00