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

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

diff -u --recursive --new-file v1.3.21/linux/arch/mips/mm/init.c linux/arch/mips/mm/init.c
@@ -163,7 +163,7 @@
 		pg_dir++;
 		for (tmp = 0 ; tmp < PTRS_PER_PAGE ; 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, [email protected]
TCL-scripts by Sam Shen, [email protected] with Sam's (original) version
of this