summaryrefslogtreecommitdiffstats
path: root/sys/ia64/isa
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-04-29 07:43:16 +0000
committerpeter <peter@FreeBSD.org>2002-04-29 07:43:16 +0000
commitc0e3147cc6cb9443ed740df00ac3e6ff532536e5 (patch)
tree8606fb37ea8e86e89888ad66971582ab9925c328 /sys/ia64/isa
parent18fb0e27c7018fe7e30a1a44ac1ab4bd16f98130 (diff)
downloadFreeBSD-src-c0e3147cc6cb9443ed740df00ac3e6ff532536e5.zip
FreeBSD-src-c0e3147cc6cb9443ed740df00ac3e6ff532536e5.tar.gz
Tidy up some loose ends.
i386/ia64/alpha - catch up to sparc64/ppc: - replace pmap_kernel() with refs to kernel_pmap - change kernel_pmap pointer to (&kernel_pmap_store) (this is a speedup since ld can set these at compile/link time) all platforms (as suggested by jake): - gc unused pmap_reference - gc unused pmap_destroy - gc unused struct pmap.pm_count (we never used pm_count - we track address space sharing at the vmspace)
Diffstat (limited to 'sys/ia64/isa')
-rw-r--r--sys/ia64/isa/isa_dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ia64/isa/isa_dma.c b/sys/ia64/isa/isa_dma.c
index f85406b..e749663 100644
--- a/sys/ia64/isa/isa_dma.c
+++ b/sys/ia64/isa/isa_dma.c
@@ -242,7 +242,7 @@ static void isa_dmastart_cb(void *arg, bus_dma_segment_t *segs, int nseg,
#if 0
if ((chipset.sgmap == NULL) &&
- (pmap_extract(pmap_kernel(), (vm_offset_t)addr)
+ (pmap_extract(kernel_pmap, (vm_offset_t)addr)
> BUS_SPACE_MAXADDR_24BIT)) {
/* we bounced */
dma_bounced |= (1 << chan);
OpenPOWER on IntegriCloud