summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2004-03-07 21:06:48 +0000
committeralc <alc@FreeBSD.org>2004-03-07 21:06:48 +0000
commitf13324f65bc2419a9196c4eca76e5e57c0d7fea5 (patch)
tree46fc651b1b10f7e2ee470193f457cfe495ed084a /sys/powerpc
parenta545780c51218e55facb66312587197d0f2ce9af (diff)
downloadFreeBSD-src-f13324f65bc2419a9196c4eca76e5e57c0d7fea5.zip
FreeBSD-src-f13324f65bc2419a9196c4eca76e5e57c0d7fea5.tar.gz
Retire pmap_pinit2(). Alpha was the last platform that used it. However,
ever since alpha/alpha/pmap.c revision 1.81 introduced the list allpmaps, there has been no reason for having this function on Alpha. Briefly, when pmap_growkernel() relied upon the list of all processes to find and update the various pmaps to reflect a growth in the kernel's valid address space, pmap_init2() served to avoid a race between pmap initialization and pmap_growkernel(). Specifically, pmap_pinit2() was responsible for initializing the kernel portions of the pmap and pmap_pinit2() was called after the process structure contained a pointer to the new pmap for use by pmap_growkernel(). Thus, an update to the kernel's address space might be applied to the new pmap unnecessarily, but an update would never be lost.
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/aim/mmu_oea.c6
-rw-r--r--sys/powerpc/powerpc/mmu_oea.c6
-rw-r--r--sys/powerpc/powerpc/pmap.c6
3 files changed, 0 insertions, 18 deletions
diff --git a/sys/powerpc/aim/mmu_oea.c b/sys/powerpc/aim/mmu_oea.c
index cdf3bce..69fe588 100644
--- a/sys/powerpc/aim/mmu_oea.c
+++ b/sys/powerpc/aim/mmu_oea.c
@@ -1443,12 +1443,6 @@ pmap_pinit0(pmap_t pm)
bzero(&pm->pm_stats, sizeof(pm->pm_stats));
}
-void
-pmap_pinit2(pmap_t pmap)
-{
- /* XXX: Remove this stub when no longer called */
-}
-
/*
* Set the physical protection on the specified range of this map as requested.
*/
diff --git a/sys/powerpc/powerpc/mmu_oea.c b/sys/powerpc/powerpc/mmu_oea.c
index cdf3bce..69fe588 100644
--- a/sys/powerpc/powerpc/mmu_oea.c
+++ b/sys/powerpc/powerpc/mmu_oea.c
@@ -1443,12 +1443,6 @@ pmap_pinit0(pmap_t pm)
bzero(&pm->pm_stats, sizeof(pm->pm_stats));
}
-void
-pmap_pinit2(pmap_t pmap)
-{
- /* XXX: Remove this stub when no longer called */
-}
-
/*
* Set the physical protection on the specified range of this map as requested.
*/
diff --git a/sys/powerpc/powerpc/pmap.c b/sys/powerpc/powerpc/pmap.c
index cdf3bce..69fe588 100644
--- a/sys/powerpc/powerpc/pmap.c
+++ b/sys/powerpc/powerpc/pmap.c
@@ -1443,12 +1443,6 @@ pmap_pinit0(pmap_t pm)
bzero(&pm->pm_stats, sizeof(pm->pm_stats));
}
-void
-pmap_pinit2(pmap_t pmap)
-{
- /* XXX: Remove this stub when no longer called */
-}
-
/*
* Set the physical protection on the specified range of this map as requested.
*/
OpenPOWER on IntegriCloud