diff options
author | peter <peter@FreeBSD.org> | 2002-04-29 07:43:16 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-04-29 07:43:16 +0000 |
commit | c0e3147cc6cb9443ed740df00ac3e6ff532536e5 (patch) | |
tree | 8606fb37ea8e86e89888ad66971582ab9925c328 /sys/alpha/isa | |
parent | 18fb0e27c7018fe7e30a1a44ac1ab4bd16f98130 (diff) | |
download | FreeBSD-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/alpha/isa')
-rw-r--r-- | sys/alpha/isa/isa_dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/alpha/isa/isa_dma.c b/sys/alpha/isa/isa_dma.c index 45b2f02..4d57b39 100644 --- a/sys/alpha/isa/isa_dma.c +++ b/sys/alpha/isa/isa_dma.c @@ -239,7 +239,7 @@ static void isa_dmastart_cb(void *arg, bus_dma_segment_t *segs, int nseg, panic("isa_dmastart: transfer mapping not contiguous"); 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); |