diff options
author | 2006-06-26 22:23:03 +0000 | |
---|---|---|
committer | 2006-06-26 22:23:03 +0000 | |
commit | 0fb1606fd5d25308eaffeaa65e1231d80cb418c0 (patch) | |
tree | 442b3367af062522a1bc87c02814aa52884481ad | |
parent | Always skip the offending instruction for fpu faults, even if it is (diff) | |
download | wireguard-openbsd-0fb1606fd5d25308eaffeaa65e1231d80cb418c0.tar.xz wireguard-openbsd-0fb1606fd5d25308eaffeaa65e1231d80cb418c0.zip |
atop(PAGE_SIZE) -> 1, 'tis true but it gets computed faster when PAGE_SIZE
is not a constant.
-rw-r--r-- | sys/arch/sparc/sparc/pmap.c | 4 |
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); } |