aboutsummaryrefslogtreecommitdiff
path: root/sys/powerpc/booke/pmap.c
diff options
context:
space:
mode:
authorJustin Hibbits <jhibbits@FreeBSD.org>2015-03-28 21:39:42 +0000
committerJustin Hibbits <jhibbits@FreeBSD.org>2015-03-28 21:39:42 +0000
commitcf0b1c3340a2d8dd3bf629be5dbabb7ea3c6adfc (patch)
tree05962cbd210a47688d5970ed30e3b2244f4796b7 /sys/powerpc/booke/pmap.c
parent10813ab3806be47ee4cd59d7992dc4cfd3c3242d (diff)
downloadsrc-cf0b1c3340a2d8dd3bf629be5dbabb7ea3c6adfc.tar.gz
src-cf0b1c3340a2d8dd3bf629be5dbabb7ea3c6adfc.zip
Notes
Diffstat (limited to 'sys/powerpc/booke/pmap.c')
-rw-r--r--sys/powerpc/booke/pmap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/powerpc/booke/pmap.c b/sys/powerpc/booke/pmap.c
index 573364afb67c..2c6df639342b 100644
--- a/sys/powerpc/booke/pmap.c
+++ b/sys/powerpc/booke/pmap.c
@@ -262,7 +262,9 @@ static vm_offset_t ptbl_buf_pool_vabase;
/* Pointer to ptbl_buf structures. */
static struct ptbl_buf *ptbl_bufs;
+#ifdef SMP
void pmap_bootstrap_ap(volatile uint32_t *);
+#endif
/*
* Kernel MMU interface
@@ -1329,6 +1331,7 @@ mmu_booke_bootstrap(mmu_t mmu, vm_offset_t start, vm_offset_t kernelend)
debugf("mmu_booke_bootstrap: exit\n");
}
+#ifdef SMP
void
pmap_bootstrap_ap(volatile uint32_t *trcp __unused)
{
@@ -1349,6 +1352,7 @@ pmap_bootstrap_ap(volatile uint32_t *trcp __unused)
set_mas4_defaults();
}
+#endif
/*
* Get the physical page address for the given pmap/virtual address.