summaryrefslogtreecommitdiffstats
path: root/sys/sparc64
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2002-11-13 05:39:58 +0000
committeralc <alc@FreeBSD.org>2002-11-13 05:39:58 +0000
commitc02d224c79a209121012072dc916c2d61ce8c1e5 (patch)
treee422808e35d14010cfbd0e3bec778fcc4bba8771 /sys/sparc64
parent51b18a9ea395df565a980577302fe8bc0f24ab8c (diff)
downloadFreeBSD-src-c02d224c79a209121012072dc916c2d61ce8c1e5.zip
FreeBSD-src-c02d224c79a209121012072dc916c2d61ce8c1e5.tar.gz
Move pmap_collect() out of the machine-dependent code, rename it
to reflect its new location, and add page queue and flag locking. Notes: (1) alpha, i386, and ia64 had identical implementations of pmap_collect() in terms of machine-independent interfaces; (2) sparc64 doesn't require it; (3) powerpc had it as a TODO.
Diffstat (limited to 'sys/sparc64')
-rw-r--r--sys/sparc64/include/pmap.h2
-rw-r--r--sys/sparc64/sparc64/pmap.c9
2 files changed, 0 insertions, 11 deletions
diff --git a/sys/sparc64/include/pmap.h b/sys/sparc64/include/pmap.h
index faa3651..fdb5b9b 100644
--- a/sys/sparc64/include/pmap.h
+++ b/sys/sparc64/include/pmap.h
@@ -104,8 +104,6 @@ extern vm_offset_t phys_avail[];
extern vm_offset_t virtual_avail;
extern vm_offset_t virtual_end;
-extern int pmap_pagedaemon_waken;
-
extern vm_offset_t msgbuf_phys;
static __inline int
diff --git a/sys/sparc64/sparc64/pmap.c b/sys/sparc64/sparc64/pmap.c
index 485349c..219a0cc 100644
--- a/sys/sparc64/sparc64/pmap.c
+++ b/sys/sparc64/sparc64/pmap.c
@@ -1278,15 +1278,6 @@ pmap_growkernel(vm_offset_t addr)
panic("pmap_growkernel: can't grow kernel");
}
-/*
- * This routine is very drastic, but can save the system
- * in a pinch.
- */
-void
-pmap_collect(void)
-{
-}
-
int
pmap_remove_tte(struct pmap *pm, struct pmap *pm2, struct tte *tp,
vm_offset_t va)
OpenPOWER on IntegriCloud