patch-2.2.8 linux/arch/ppc/mm/fault.c
Next file: linux/arch/ppc/mm/init.c
Previous file: linux/arch/ppc/mbxboot/head.S
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Tue May 11 08:24:32 1999
- Orig file:
v2.2.7/linux/arch/ppc/mm/fault.c
- Orig date:
Thu Jan 7 15:11:36 1999
diff -u --recursive --new-file v2.2.7/linux/arch/ppc/mm/fault.c linux/arch/ppc/mm/fault.c
@@ -140,7 +140,8 @@
if (!(vma->vm_flags & (VM_READ | VM_EXEC)))
goto bad_area;
}
- handle_mm_fault(current, vma, address, error_code & 0x02000000);
+ if (!handle_mm_fault(current, vma, address, error_code & 0x02000000))
+ goto bad_area;
up(&mm->mmap_sem);
/*
* keep track of tlb+htab misses that are good addrs but
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)