patch-2.4.19 linux-2.4.19/arch/i386/kernel/process.c

Next file: linux-2.4.19/arch/i386/kernel/ptrace.c
Previous file: linux-2.4.19/arch/i386/kernel/pci-pc.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/arch/i386/kernel/process.c linux-2.4.19/arch/i386/kernel/process.c
@@ -311,7 +311,7 @@
 	/*
 	 * Use `swapper_pg_dir' as our page directory.
 	 */
-	asm volatile("movl %0,%%cr3": :"r" (__pa(swapper_pg_dir)));
+	load_cr3(swapper_pg_dir);
 
 	/* Write 0x1234 to absolute memory location 0x472.  The BIOS reads
 	   this on booting to tell it to "Bypass memory test (also warm

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)