summaryrefslogtreecommitdiffstats
path: root/arch/sh64/mm/fault.c
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-08-15 05:10:26 +0200
committerJeff Garzik <jgarzik@pobox.com>2005-08-15 05:10:26 +0200
commit20445cc9159089d9d6b88d7864578efb10eb6590 (patch)
treefbbb27fd8baa82c77ebc4e020e8ee9ddb57e3ae2 /arch/sh64/mm/fault.c
parent[PATCH] hostap: Use ieee80211 WLAN_FC_GET_{TYPE,STYPE} (diff)
parentMerge /spare/repo/linux-2.6/ (diff)
downloadlinux-20445cc9159089d9d6b88d7864578efb10eb6590.tar.xz
linux-20445cc9159089d9d6b88d7864578efb10eb6590.zip
/spare/repo/netdev-2.6 branch 'ieee80211'
Diffstat (limited to 'arch/sh64/mm/fault.c')
-rw-r--r--arch/sh64/mm/fault.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sh64/mm/fault.c b/arch/sh64/mm/fault.c
index a24932881dbb..f08d0eaf6497 100644
--- a/arch/sh64/mm/fault.c
+++ b/arch/sh64/mm/fault.c
@@ -223,13 +223,13 @@ good_area:
*/
survive:
switch (handle_mm_fault(mm, vma, address, writeaccess)) {
- case 1:
+ case VM_FAULT_MINOR:
tsk->min_flt++;
break;
- case 2:
+ case VM_FAULT_MAJOR:
tsk->maj_flt++;
break;
- case 0:
+ case VM_FAULT_SIGBUS:
goto do_sigbus;
default:
goto out_of_memory;