summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2001-08-18 06:18:50 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2001-08-18 06:18:50 +0000
commit216f31b3ea059106cee9c8365f37a942a847bd94 (patch)
tree4c61a60b55e2ee8d57e6a95b37d38a46f8edd795
parent49227549413b4f17e45ca23767bc3c3ef2cba81c (diff)
remove pv_table, it is not referenced any longer.
-rw-r--r--sys/arch/powerpc/powerpc/pmap.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/arch/powerpc/powerpc/pmap.c b/sys/arch/powerpc/powerpc/pmap.c
index a1b03ee6af8..6e9912a8ca0 100644
--- a/sys/arch/powerpc/powerpc/pmap.c
+++ b/sys/arch/powerpc/powerpc/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.39 2001/08/10 15:05:48 drahn Exp $ */
+/* $OpenBSD: pmap.c,v 1.40 2001/08/18 06:18:49 drahn Exp $ */
/* $NetBSD: pmap.c,v 1.1 1996/09/30 16:34:52 ws Exp $ */
/*
@@ -247,8 +247,6 @@ struct pv_entry {
struct pmap *pv_pmap; /* pmap associated with this map */
};
-struct pv_entry *pv_table;
-
struct pool pmap_pv_pool;
struct pv_entry *pmap_alloc_pv __P((void));
void pmap_free_pv __P((struct pv_entry *));
@@ -713,7 +711,7 @@ pmap_init()
sz = round_page(sz);
addr = uvm_km_zalloc(kernel_map, sz);
s = splimp();
- pv = pv_table = (struct pv_entry *)addr;
+ pv = (struct pv_entry *)addr;
for (i = npgs; --i >= 0;)
pv++->pv_idx = -1;
pool_init(&pmap_vp_pool, NBPG, 0, 0, 0, "ppvl",
@@ -724,7 +722,7 @@ pmap_init()
0, NULL, NULL, M_VMPMAP);
pmap_attrib = (char *)pv;
bzero(pv, npgs);
- pv = pv_table;
+ pv = (struct pv_entry *)addr;
attr = pmap_attrib;
for (bank = 0; bank < vm_nphysseg; bank++) {
sz = vm_physmem[bank].end - vm_physmem[bank].start;