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

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