android_kernel_motorola_sm6225/arch/sparc/mm
Peter Zijlstra a866374aec [PATCH] mm: pagefault_{disable,enable}()
Introduce pagefault_{disable,enable}() and use these where previously we did
manual preempt increments/decrements to make the pagefault handler do the
atomic thing.

Currently they still rely on the increased preempt count, but do not rely on
the disabled preemption, this might go away in the future.

(NOTE: the extra barrier() in pagefault_disable might fix some holes on
       machines which have too many registers for their own good)

[heiko.carstens@de.ibm.com: s390 fix]
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Nick Piggin <npiggin@suse.de>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-12-07 08:39:21 -08:00
..
btfixup.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
extable.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
fault.c [SPARC]: Use ARRAY_SIZE macro 2005-11-09 12:03:05 -08:00
generic.c [SPARC]: Respect vm_page_prot in io_remap_page_range(). 2006-03-22 01:15:13 -08:00
highmem.c [PATCH] mm: pagefault_{disable,enable}() 2006-12-07 08:39:21 -08:00
hypersparc.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
init.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
io-unit.c [SPARC]: Initialize iounit spinlock in iounit_init(). 2006-07-21 14:18:13 -07:00
iommu.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
loadmmu.c [SPARC]: Respect vm_page_prot in io_remap_page_range(). 2006-03-22 01:15:13 -08:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nosrmmu.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nosun4c.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
srmmu.c [SPARC32]: Mark srmmu_nocache_init as __init. 2006-10-11 23:56:52 -07:00
sun4c.c [PATCH] Standardize pxx_page macros 2006-09-26 08:48:51 -07:00
swift.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
tsunami.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
viking.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00