aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm26
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm26')
-rw-r--r--arch/arm26/mm/fault.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm26/mm/fault.c b/arch/arm26/mm/fault.c
index 761938b56679..a7c4cc922095 100644
--- a/arch/arm26/mm/fault.c
+++ b/arch/arm26/mm/fault.c
@@ -155,7 +155,7 @@ __do_page_fault(struct mm_struct *mm, unsigned long addr, unsigned int fsr,
155 */ 155 */
156good_area: 156good_area:
157 if (READ_FAULT(fsr)) /* read? */ 157 if (READ_FAULT(fsr)) /* read? */
158 mask = VM_READ|VM_EXEC; 158 mask = VM_READ|VM_EXEC|VM_WRITE;
159 else 159 else
160 mask = VM_WRITE; 160 mask = VM_WRITE;
161 161