patch-2.1.109 linux/arch/i386/mm/init.c

Next file: linux/arch/m68k/amiga/config.c
Previous file: linux/arch/i386/mm/fault.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.108/linux/arch/i386/mm/init.c linux/arch/i386/mm/init.c
@@ -22,12 +22,12 @@
 #include <linux/blk.h>
 #endif
 
+#include <asm/processor.h>
 #include <asm/system.h>
 #include <asm/uaccess.h>
 #include <asm/pgtable.h>
 #include <asm/dma.h>
 
-extern void die_if_kernel(char *,struct pt_regs *,long);
 extern void show_net_buffers(void);
 
 void __bad_pte_kernel(pmd_t *pmd)
@@ -171,23 +171,6 @@
 #define X86_CR4_MCE		0x0040		/* Machine check enable */
 #define X86_CR4_PGE		0x0080		/* enable global pages */
 #define X86_CR4_PCE		0x0100		/* enable performance counters at ipl 3 */
-
-#define X86_FEATURE_FPU		0x0001		/* internal FPU */
-#define X86_FEATURE_VME		0x0002		/* vm86 extensions */
-#define X86_FEATURE_DE		0x0004		/* debugging extensions */
-#define X86_FEATURE_PSE		0x0008		/* Page size extensions */
-#define X86_FEATURE_TSC		0x0010		/* Time stamp counter */
-#define X86_FEATURE_MSR		0x0020		/* RDMSR/WRMSR */
-#define X86_FEATURE_PAE		0x0040		/* Physical address extension */
-#define X86_FEATURE_MCE		0x0080		/* Machine check exception */
-#define X86_FEATURE_CXS		0x0100		/* cmpxchg8 available */
-#define X86_FEATURE_APIC	0x0200		/* internal APIC */
-#define X86_FEATURE_10		0x0400
-#define X86_FEATURE_11		0x0800
-#define X86_FEATURE_MTRR	0x1000		/* memory type registers */
-#define X86_FEATURE_PGE		0x2000		/* Global page */
-#define X86_FEATURE_MCA		0x4000		/* Machine Check Architecture */
-#define X86_FEATURE_CMOV	0x8000		/* Cmov/fcomi */
 
 /*
  * Save the cr4 feature set we're using (ie

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov