summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-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 1dc00992d4c..594b9784db7 100644
--- a/sys/arch/sparc/sparc/pmap.c
+++ b/sys/arch/sparc/sparc/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.143 2005/04/17 18:47:50 miod Exp $ */
+/* $OpenBSD: pmap.c,v 1.144 2006/06/26 22:23:03 miod Exp $ */
/* $NetBSD: pmap.c,v 1.118 1998/05/19 19:00:18 thorpej Exp $ */
/*
@@ -224,7 +224,7 @@ pgt_page_alloc(struct pool *pp, int flags)
PAGE_SIZE, UVM_KMF_NOWAIT);
if (p != NULL && ((cpuinfo.flags & CPUFLG_CACHEPAGETABLES) == 0)) {
pcache_flush(p, (caddr_t)VA2PA(p), PAGE_SIZE);
- kvm_uncache(p, atop(PAGE_SIZE));
+ kvm_uncache(p, 1);
}
return (p);
}