diff options
Diffstat (limited to 'arch/mips/mm/fault.c')
-rw-r--r-- | arch/mips/mm/fault.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/mm/fault.c b/arch/mips/mm/fault.c index 36c0f26fac6b..852a41c6da45 100644 --- a/arch/mips/mm/fault.c +++ b/arch/mips/mm/fault.c | |||
@@ -133,7 +133,8 @@ good_area: | |||
133 | #endif | 133 | #endif |
134 | goto bad_area; | 134 | goto bad_area; |
135 | } | 135 | } |
136 | if (!(vma->vm_flags & VM_READ)) { | 136 | if (!(vma->vm_flags & VM_READ) && |
137 | exception_epc(regs) != address) { | ||
137 | #if 0 | 138 | #if 0 |
138 | pr_notice("Cpu%d[%s:%d:%0*lx:%ld:%0*lx] RI violation\n", | 139 | pr_notice("Cpu%d[%s:%d:%0*lx:%ld:%0*lx] RI violation\n", |
139 | raw_smp_processor_id(), | 140 | raw_smp_processor_id(), |