summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAriane van der Steldt <ariane@cvs.openbsd.org>2012-04-12 14:59:27 +0000
committerAriane van der Steldt <ariane@cvs.openbsd.org>2012-04-12 14:59:27 +0000
commit89b1c86e88102f84e51fa75fa4743f1aea20d276 (patch)
treef2d51314d892e9137b213163fc3c5b90caa8c1da /sys
parentf63ee3a6ce91574448645ed33a0b6a1364e3afc5 (diff)
Remove dead UBC code
Diffstat (limited to 'sys')
-rw-r--r--sys/uvm/uvm_aobj.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/uvm/uvm_aobj.c b/sys/uvm/uvm_aobj.c
index 07bc46d397a..e6e0f7f15b1 100644
--- a/sys/uvm/uvm_aobj.c
+++ b/sys/uvm/uvm_aobj.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_aobj.c,v 1.54 2011/07/03 18:34:14 oga Exp $ */
+/* $OpenBSD: uvm_aobj.c,v 1.55 2012/04/12 14:59:26 ariane Exp $ */
/* $NetBSD: uvm_aobj.c,v 1.39 2001/02/18 21:19:08 chs Exp $ */
/*
@@ -1335,9 +1335,6 @@ uao_pagein_page(struct uvm_aobj *aobj, int pageidx)
* deactivate the page (to put it on a page queue).
*/
pmap_clear_reference(pg);
-#ifndef UBC
- pmap_page_protect(pg, VM_PROT_NONE);
-#endif
uvm_lock_pageq();
uvm_pagedeactivate(pg);
uvm_unlock_pageq();