Move FAULT_FLAG_xyz into handle_mm_fault() callers
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 10 Apr 2009 16:01:23 +0000 (09:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 21 Jun 2009 20:08:22 +0000 (13:08 -0700)
commitd06063cc221fdefcab86589e79ddfdb7c0e14b63
tree00ccaf8c1992b57a4445d78b9eae25fde0b3ab31
parent30c9f3a9fae79517bca595826a19c6855fbb6d32
Move FAULT_FLAG_xyz into handle_mm_fault() callers

This allows the callers to now pass down the full set of FAULT_FLAG_xyz
flags to handle_mm_fault().  All callers have been (mechanically)
converted to the new calling convention, there's almost certainly room
for architectures to clean up their code and then add FAULT_FLAG_RETRY
when that support is added.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
25 files changed:
arch/alpha/mm/fault.c
arch/arm/mm/fault.c
arch/avr32/mm/fault.c
arch/cris/mm/fault.c
arch/frv/mm/fault.c
arch/ia64/mm/fault.c
arch/m32r/mm/fault.c
arch/m68k/mm/fault.c
arch/microblaze/mm/fault.c
arch/mips/mm/fault.c
arch/mn10300/mm/fault.c
arch/parisc/mm/fault.c
arch/powerpc/mm/fault.c
arch/powerpc/platforms/cell/spu_fault.c
arch/s390/lib/uaccess_pt.c
arch/s390/mm/fault.c
arch/sh/mm/fault_32.c
arch/sh/mm/tlbflush_64.c
arch/sparc/mm/fault_32.c
arch/sparc/mm/fault_64.c
arch/um/kernel/trap.c
arch/x86/mm/fault.c
arch/xtensa/mm/fault.c
include/linux/mm.h
mm/memory.c