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

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

diff -u --recursive --new-file v1.3.21/linux/arch/i386/mm/init.c linux/arch/i386/mm/init.c
@@ -157,7 +157,7 @@
 		pg_dir++;
 		for (tmp = 0 ; tmp < PTRS_PER_PTE ; tmp++,pg_table++) {
 			if (address < end_mem)
-				*pg_table = mk_pte(address, PAGE_SHARED);
+				set_pte(pg_table, mk_pte(address, PAGE_SHARED));
 			else
 				pte_clear(pg_table);
 			address += PAGE_SIZE;

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