patch-2.1.36 linux/arch/i386/kernel/head.S
Next file: linux/arch/i386/kernel/i386_ksyms.c
Previous file: linux/arch/i386/kernel/entry.S
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Mon Apr 21 11:34:01 1997
- Orig file:
v2.1.35/linux/arch/i386/kernel/head.S
- Orig date:
Wed Apr 16 14:14:59 1997
diff -u --recursive --new-file v2.1.35/linux/arch/i386/kernel/head.S linux/arch/i386/kernel/head.S
@@ -38,15 +38,16 @@
orw %bx,%bx
jz 1f
/*
- * New page tables may be in 4Mbyte page mode
+ * New page tables may be in 4Mbyte page mode and may
+ * be using the global pages.
*/
#ifdef GAS_KNOWS_CR4
movl %cr4,%eax # Turn on 4Mb pages
- orl $16,%eax
+ orl $16+128,%eax
movl %eax,%cr4
#else
.byte 0x0f,0x20,0xe0
- orl $16,%eax
+ orl $16+128,%eax
.byte 0x0f,0x22,0xe0
#endif
movl %eax,%cr3 /* flush TLB as per app note */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov