patch-2.1.17 linux/arch/alpha/mm/init.c

Next file: linux/arch/i386/defconfig
Previous file: linux/arch/alpha/kernel/process.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.16/linux/arch/alpha/mm/init.c linux/arch/alpha/mm/init.c
@@ -145,7 +145,7 @@
 	unsigned long tmp;
 
 	end_mem &= PAGE_MASK;
-	max_mapnr = MAP_NR(end_mem);
+	max_mapnr = num_physpages = MAP_NR(end_mem);
 	high_memory = (void *) end_mem;
 	start_mem = PAGE_ALIGN(start_mem);
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov