From d95281d45da8e9fcdd1b2885dcb4d830eb3500fd Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Tue, 27 Jan 2009 22:14:14 +0000 Subject: Get rid of the last traces of uvm.pager_[se]va --- sys/arch/sparc/sparc/pmap.c | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'sys/arch/sparc') 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; -- cgit v1.2.3