summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2000-01-27 15:48:20 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2000-01-27 15:48:20 +0000
commitf315b69bdb7f24da31c33a5500265b0ff1f51eab (patch)
tree665f43053bdcb260393964f46b8172a461834bf9 /sys
parent662f48c1f658c1ad87f7e8772f2239a1b1b553fc (diff)
It's amazing what you can find with some code reading.
In pv_unlink4m we check if the page that was uncached due to bad aliases can be cached again. The check was correct but instead of clearing this flag we clear all other flags except PV_ANC.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc/sparc/pmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/sparc/pmap.c b/sys/arch/sparc/sparc/pmap.c
index 0e406423ea0..00edacfcdfb 100644
--- a/sys/arch/sparc/sparc/pmap.c
+++ b/sys/arch/sparc/sparc/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.66 2000/01/27 02:06:24 art Exp $ */
+/* $OpenBSD: pmap.c,v 1.67 2000/01/27 15:48:19 art Exp $ */
/* $NetBSD: pmap.c,v 1.118 1998/05/19 19:00:18 thorpej Exp $ */
/*
@@ -2487,7 +2487,7 @@ pv_unlink4m(pv, pm, va)
if (BADALIAS(va, npv->pv_va) ||
(npv->pv_flags & PV_C4M) == 0)
return;
- pv->pv_flags &= PV_ANC;
+ pv->pv_flags &= ~PV_ANC;
pv_changepte4m(pv, SRMMU_PG_C, 0);
}
}