diff options
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/i386/trap.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/i386/i386/trap.c b/sys/i386/i386/trap.c index f8d0ea0..1d3dc3b 100644 --- a/sys/i386/i386/trap.c +++ b/sys/i386/i386/trap.c @@ -825,9 +825,7 @@ trap_pfault(frame, usermode, eva) PROC_UNLOCK(p); /* Fault in the user page: */ - rv = vm_fault(map, va, ftype, - (ftype & VM_PROT_WRITE) ? VM_FAULT_DIRTY - : VM_FAULT_NORMAL); + rv = vm_fault(map, va, ftype, VM_FAULT_NORMAL); PROC_LOCK(p); --p->p_lock; |