summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-01-27 22:14:14 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-01-27 22:14:14 +0000
commitd95281d45da8e9fcdd1b2885dcb4d830eb3500fd (patch)
treecf11b7a3dc0dc35d0627bb57e33b1970c6f2443a /sys/arch/sparc
parentded9c3dd7f02f619558dd047acc40342786cf10f (diff)
Get rid of the last traces of uvm.pager_[se]va
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r--sys/arch/sparc/sparc/pmap.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/sys/arch/sparc/sparc/pmap.c b/sys/arch/sparc/sparc/pmap.c
index b800dacdce5..d3d495740c9 100644
--- a/sys/arch/sparc/sparc/pmap.c
+++ b/sys/arch/sparc/sparc/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.150 2008/10/23 23:54:02 tedu Exp $ */
+/* $OpenBSD: pmap.c,v 1.151 2009/01/27 22:14:13 miod Exp $ */
/* $NetBSD: pmap.c,v 1.118 1998/05/19 19:00:18 thorpej Exp $ */
/*
@@ -1934,12 +1934,9 @@ pv_changepte4_4c(pv0, bis, bic)
/* in hardware: fix hardware copy */
if (CTX_USABLE(pm,rp)) {
/*
- * Bizarreness: we never clear PG_W on
- * pager pages, nor PG_NC on DVMA pages.
+ * Bizarreness: we never clear PG_NC on
+ * DVMA pages.
*/
- if (bic == PG_W &&
- va >= uvm.pager_sva && va < uvm.pager_eva)
- continue;
if (bic == PG_NC &&
va >= DVMA_BASE && va < DVMA_END)
continue;
@@ -2249,12 +2246,8 @@ pv_changepte4m(pv0, bis, bic)
if (pm->pm_ctx) {
/*
- * Bizarreness: we never clear PG_W on
- * pager pages, nor set PG_C on DVMA pages.
+ * Bizarreness: we never set PG_C on DVMA pages.
*/
- if ((bic & PPROT_WRITE) &&
- va >= uvm.pager_sva && va < uvm.pager_eva)
- continue;
if ((bis & SRMMU_PG_C) &&
va >= DVMA_BASE && va < DVMA_END)
continue;