diff options
Diffstat (limited to 'arch/microblaze/mm/fault.c')
| -rw-r--r-- | arch/microblaze/mm/fault.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/mm/fault.c b/arch/microblaze/mm/fault.c index 5e67cd1fab40..956607a63f4c 100644 --- a/arch/microblaze/mm/fault.c +++ b/arch/microblaze/mm/fault.c | |||
| @@ -232,7 +232,7 @@ good_area: | |||
| 232 | * the fault. | 232 | * the fault. |
| 233 | */ | 233 | */ |
| 234 | survive: | 234 | survive: |
| 235 | fault = handle_mm_fault(mm, vma, address, is_write); | 235 | fault = handle_mm_fault(mm, vma, address, is_write ? FAULT_FLAG_WRITE : 0); |
| 236 | if (unlikely(fault & VM_FAULT_ERROR)) { | 236 | if (unlikely(fault & VM_FAULT_ERROR)) { |
| 237 | if (fault & VM_FAULT_OOM) | 237 | if (fault & VM_FAULT_OOM) |
| 238 | goto out_of_memory; | 238 | goto out_of_memory; |
