git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
arch
/
m68k
/
mm
/
fault.c
diff --git
a/arch/m68k/mm/fault.c
b/arch/m68k/mm/fault.c
index
805284a
..
aec1527
100644
(file)
--- a/
arch/m68k/mm/fault.c
+++ b/
arch/m68k/mm/fault.c
@@
-157,16
+157,16
@@
good_area:
survive:
fault = handle_mm_fault(mm, vma, address, write);
#ifdef DEBUG
survive:
fault = handle_mm_fault(mm, vma, address, write);
#ifdef DEBUG
- printk("handle_mm_fault returns %d\n",fault);
+ printk("handle_mm_fault returns %d\n",fault);
#endif
switch (fault) {
#endif
switch (fault) {
- case
1
:
+ case
VM_FAULT_MINOR
:
current->min_flt++;
break;
current->min_flt++;
break;
- case
2
:
+ case
VM_FAULT_MAJOR
:
current->maj_flt++;
break;
current->maj_flt++;
break;
- case
0
:
+ case
VM_FAULT_SIGBUS
:
goto bus_err;
default:
goto out_of_memory;
goto bus_err;
default:
goto out_of_memory;
@@
-186,7
+186,7
@@
out_of_memory:
down_read(&mm->mmap_sem);
goto survive;
}
down_read(&mm->mmap_sem);
goto survive;
}
-
+
printk("VM: killing process %s\n", current->comm);
if (user_mode(regs))
do_exit(SIGKILL);
printk("VM: killing process %s\n", current->comm);
if (user_mode(regs))
do_exit(SIGKILL);