aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mm/fault.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mm/fault.c b/arch/arm/mm/fault.c
index f0943d160ffe..a5b33ff3924e 100644
--- a/arch/arm/mm/fault.c
+++ b/arch/arm/mm/fault.c
@@ -171,7 +171,7 @@ good_area:
171 if (fsr & (1 << 11)) /* write? */ 171 if (fsr & (1 << 11)) /* write? */
172 mask = VM_WRITE; 172 mask = VM_WRITE;
173 else 173 else
174 mask = VM_READ|VM_EXEC; 174 mask = VM_READ|VM_EXEC|VM_WRITE;
175 175
176 fault = VM_FAULT_BADACCESS; 176 fault = VM_FAULT_BADACCESS;
177 if (!(vma->vm_flags & mask)) 177 if (!(vma->vm_flags & mask))