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
- Lines: 9
- Date:
Fri Aug 2 17:39:42 2002
- Orig file:
linux-2.4.18/arch/i386/kernel/process.c
- Orig date:
Mon Feb 25 11:37:53 2002
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)