aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/mm/fault.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68k/mm/fault.c')
-rw-r--r--arch/m68k/mm/fault.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/mm/fault.c b/arch/m68k/mm/fault.c
index aec15270d334..5e2d87c10c87 100644
--- a/arch/m68k/mm/fault.c
+++ b/arch/m68k/mm/fault.c
@@ -144,7 +144,7 @@ good_area:
144 case 1: /* read, present */ 144 case 1: /* read, present */
145 goto acc_err; 145 goto acc_err;
146 case 0: /* read, not present */ 146 case 0: /* read, not present */
147 if (!(vma->vm_flags & (VM_READ | VM_EXEC))) 147 if (!(vma->vm_flags & (VM_READ | VM_EXEC | VM_WRITE)))
148 goto acc_err; 148 goto acc_err;
149 } 149 }
150 150