summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2000-01-27 02:06:25 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2000-01-27 02:06:25 +0000
commit53627f115adf9e47c7cb532c1a9f2813f3b69c69 (patch)
tree0864cc26e5bf159e50f08843a2ae44cedf0cd89c /sys
parentc1ed3aaf864726b9fbd9f622718a87350a9aa3a3 (diff)
zap setptesw4m, not used anymore
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc/sparc/pmap.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/sys/arch/sparc/sparc/pmap.c b/sys/arch/sparc/sparc/pmap.c
index 22b3efb69e6..0e406423ea0 100644
--- a/sys/arch/sparc/sparc/pmap.c
+++ b/sys/arch/sparc/sparc/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.65 2000/01/27 00:18:43 art Exp $ */
+/* $OpenBSD: pmap.c,v 1.66 2000/01/27 02:06:24 art Exp $ */
/* $NetBSD: pmap.c,v 1.118 1998/05/19 19:00:18 thorpej Exp $ */
/*
@@ -532,7 +532,6 @@ static u_long segfixmask = 0xffffffff; /* all bits valid to start */
ASI_SRMMUFP)
u_int *getptep4m __P((struct pmap *, vaddr_t));
static __inline void setpgt4m __P((int *, int));
-static __inline void setptesw4m __P((struct pmap *pm, vaddr_t va, int pte));
__inline void setpte4m __P((vaddr_t va, int pte));
#endif
@@ -738,21 +737,6 @@ setpgt4m(ptep, pte)
swap(ptep, pte);
}
-/*
- * Set the page table entry for va to pte. Only affects software MMU page-
- * tables (the in-core pagetables read by the MMU). Ignores TLB, and
- * thus should _not_ be called if the pte translation could be in the TLB.
- * In this case, use setpte4m().
- */
-static __inline void
-setptesw4m(pm, va, pte)
- struct pmap *pm;
- vaddr_t va;
- int pte;
-{
- setpgt4m(getptep4m(pm, va), pte);
-}
-
/* Set the page table entry for va to pte. */
__inline void
setpte4m(va, pte)