patch-1.3.85 linux/arch/i386/mm/init.c
Next file: linux/drivers/block/floppy.c
Previous file: linux/arch/alpha/defconfig
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun Apr 7 07:41:54 1996
- Orig file:
v1.3.84/linux/arch/i386/mm/init.c
- Orig date:
Wed Apr 3 16:06:55 1996
diff -u --recursive --new-file v1.3.84/linux/arch/i386/mm/init.c linux/arch/i386/mm/init.c
@@ -153,7 +153,7 @@
pg_dir = swapper_pg_dir;
while (address < end_mem) {
#ifdef USE_PENTIUM_MM
- if (address <= end_mem + 4*1024*1024 &&
+ if (address + 4*1024*1024 <= end_mem &&
(x86_capability & 8)) {
#ifdef GAS_KNOWS_CR4
__asm__("movl %%cr4,%%eax\n\t"
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