summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_fault.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2014-07-08 11:38:49 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2014-07-08 11:38:49 +0000
commit6a766f4bc987c83ad930c498a6ffab30646c8230 (patch)
treeaac6a08716df6d7a7b7fe2e3152fae5db4982ed3 /sys/uvm/uvm_fault.c
parent8b04abcb480d2fcbb0934ad3f6372eb042810aa4 (diff)
bye bye UBC; ok beck dlg
Diffstat (limited to 'sys/uvm/uvm_fault.c')
-rw-r--r--sys/uvm/uvm_fault.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/uvm/uvm_fault.c b/sys/uvm/uvm_fault.c
index 4a795fece07..2664299c5c3 100644
--- a/sys/uvm/uvm_fault.c
+++ b/sys/uvm/uvm_fault.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_fault.c,v 1.74 2014/07/03 11:38:46 kettenis Exp $ */
+/* $OpenBSD: uvm_fault.c,v 1.75 2014/07/08 11:38:48 deraadt Exp $ */
/* $NetBSD: uvm_fault.c,v 1.51 2000/08/06 00:22:53 thorpej Exp $ */
/*
@@ -191,11 +191,7 @@ uvmfault_anonflush(struct vm_anon **anons, int n)
if (pg && (pg->pg_flags & PG_BUSY) == 0 && pg->loan_count == 0) {
uvm_lock_pageq();
if (pg->wire_count == 0) {
-#ifdef UBC
- pmap_clear_reference(pg);
-#else
pmap_page_protect(pg, VM_PROT_NONE);
-#endif
uvm_pagedeactivate(pg);
}
uvm_unlock_pageq();