patch-1.3.74 linux/arch/i386/mm/init.c

Next file: linux/arch/sparc/mm/srmmu.c
Previous file: linux/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.73/linux/arch/i386/mm/init.c linux/arch/i386/mm/init.c
@@ -236,6 +236,8 @@
 		start_mem += PAGE_SIZE;
 	}
 	for (tmp = 0 ; tmp < high_memory ; tmp += PAGE_SIZE) {
+		if (tmp >= 16*1024*1024)
+			mem_map[MAP_NR(tmp)].dma = 0;
 		if (mem_map[MAP_NR(tmp)].reserved) {
 			if (tmp >= 0xA0000 && tmp < 0x100000)
 				reservedpages++;

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