patch-2.1.106 linux/arch/m68k/mm/fault.c
Next file: linux/arch/m68k/mm/hwtest.c
Previous file: linux/arch/m68k/mm/Makefile
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sat Jun 13 13:14:33 1998
- Orig file:
v2.1.105/linux/arch/m68k/mm/fault.c
- Orig date:
Tue Feb 17 13:12:45 1998
diff -u --recursive --new-file v2.1.105/linux/arch/m68k/mm/fault.c linux/arch/m68k/mm/fault.c
@@ -48,6 +48,8 @@
vma = find_vma(mm, address);
if (!vma)
goto bad_area;
+ if (vma->vm_flags & VM_IO)
+ goto bad_area;
if (vma->vm_start <= address)
goto good_area;
if (!(vma->vm_flags & VM_GROWSDOWN))
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov