patch-2.1.5 linux/arch/i386/mm/init.c
Next file: linux/drivers/block/floppy.c
Previous file: linux/arch/i386/kernel/vm86.c
Back to the patch index
Back to the overall index
- Lines: 28
- Date:
Fri Oct 18 07:36:55 1996
- Orig file:
v2.1.4/linux/arch/i386/mm/init.c
- Orig date:
Wed Oct 9 08:55:17 1996
diff -u --recursive --new-file v2.1.4/linux/arch/i386/mm/init.c linux/arch/i386/mm/init.c
@@ -26,13 +26,6 @@
#include <asm/pgtable.h>
#include <asm/dma.h>
-/*
- * The SMP kernel can't handle the 4MB page table optimizations yet
- */
-#ifdef __SMP__
-#undef USE_PENTIUM_MM
-#endif
-
extern void die_if_kernel(char *,struct pt_regs *,long);
extern void show_net_buffers(void);
@@ -154,7 +147,12 @@
/* unmap the original low memory mappings */
pgd_val(pg_dir[0]) = 0;
while (address < end_mem) {
-#ifdef USE_PENTIUM_MM
+ /*
+ * The following code enabled 4MB page tables for the
+ * Intel Pentium cpu, unfortunately the SMP kernel can't
+ * handle the 4MB page table optimizations yet
+ */
+#ifndef __SMP__
/*
* This will create page tables that
* span up to the next 4MB virtual
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov