patch-1.3.81 linux/arch/alpha/mm/init.c
Next file: linux/arch/i386/defconfig
Previous file: linux/arch/alpha/kernel/bios32.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Sat Mar 30 11:48:51 1996
- Orig file:
v1.3.80/linux/arch/alpha/mm/init.c
- Orig date:
Wed Mar 13 18:57:48 1996
diff -u --recursive --new-file v1.3.80/linux/arch/alpha/mm/init.c linux/arch/alpha/mm/init.c
@@ -21,6 +21,7 @@
#include <asm/segment.h>
#include <asm/pgtable.h>
#include <asm/hwrpb.h>
+#include <asm/dma.h>
extern void die_if_kernel(char *,struct pt_regs *,long);
extern void show_net_buffers(void);
@@ -156,6 +157,8 @@
}
for (tmp = PAGE_OFFSET ; tmp < high_memory ; tmp += PAGE_SIZE) {
+ if (tmp >= MAX_DMA_ADDRESS)
+ mem_map[MAP_NR(tmp)].dma = 0;
if (mem_map[MAP_NR(tmp)].reserved)
continue;
mem_map[MAP_NR(tmp)].count = 1;
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