patch-1.3.75 linux/arch/i386/mm/init.c
Next file: linux/drivers/block/Config.in
Previous file: linux/arch/i386/kernel/smp.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Fri Mar 15 07:45:42 1996
- Orig file:
v1.3.74/linux/arch/i386/mm/init.c
- Orig date:
Fri Mar 15 16:03:10 1996
diff -u --recursive --new-file v1.3.74/linux/arch/i386/mm/init.c linux/arch/i386/mm/init.c
@@ -24,6 +24,7 @@
#include <asm/system.h>
#include <asm/segment.h>
#include <asm/pgtable.h>
+#include <asm/dma.h>
/*
* The SMP kernel can't handle the 4MB page table optimizations yet
@@ -236,7 +237,7 @@
start_mem += PAGE_SIZE;
}
for (tmp = 0 ; tmp < high_memory ; tmp += PAGE_SIZE) {
- if (tmp >= 16*1024*1024)
+ if (tmp >= MAX_DMA_ADDRESS)
mem_map[MAP_NR(tmp)].dma = 0;
if (mem_map[MAP_NR(tmp)].reserved) {
if (tmp >= 0xA0000 && tmp < 0x100000)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this