summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/i386/i386/pmap.c2
-rw-r--r--sys/arch/i386/i386/pmap.old.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/pmap.c b/sys/arch/i386/i386/pmap.c
index 6fa08f46e21..f51b3fc0ce2 100644
--- a/sys/arch/i386/i386/pmap.c
+++ b/sys/arch/i386/i386/pmap.c
@@ -276,7 +276,7 @@ pmap_bootstrap(virtual_start)
* reserve special hunk of memory for use by bus dma as a bounce
* buffer (contiguous virtual *and* physical memory). XXX
*/
-#if NISA > 0
+#if NISADMA > 0
isaphysmem = pmap_steal_memory(DMA_BOUNCE * NBPG);
#endif
diff --git a/sys/arch/i386/i386/pmap.old.c b/sys/arch/i386/i386/pmap.old.c
index 6fa08f46e21..f51b3fc0ce2 100644
--- a/sys/arch/i386/i386/pmap.old.c
+++ b/sys/arch/i386/i386/pmap.old.c
@@ -276,7 +276,7 @@ pmap_bootstrap(virtual_start)
* reserve special hunk of memory for use by bus dma as a bounce
* buffer (contiguous virtual *and* physical memory). XXX
*/
-#if NISA > 0
+#if NISADMA > 0
isaphysmem = pmap_steal_memory(DMA_BOUNCE * NBPG);
#endif