patch-2.3.23 linux/include/asm-i386/processor.h
Next file: linux/include/asm-i386/smp.h
Previous file: linux/include/asm-i386/pgtable.h
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Fri Oct 22 12:46:19 1999
- Orig file:
v2.3.22/linux/include/asm-i386/processor.h
- Orig date:
Sat Oct 9 11:47:50 1999
diff -u --recursive --new-file v2.3.22/linux/include/asm-i386/processor.h linux/include/asm-i386/processor.h
@@ -46,6 +46,7 @@
int coma_bug;
unsigned long loops_per_sec;
unsigned long *pgd_quick;
+ unsigned long *pmd_quick;
unsigned long *pte_quick;
unsigned long pgtable_cache_sz;
};
@@ -106,6 +107,12 @@
#define current_cpu_data boot_cpu_data
#endif
+#define cpu_has_pge \
+ (boot_cpu_data.x86_capability & X86_FEATURE_PGE)
+#define cpu_has_pse \
+ (boot_cpu_data.x86_capability & X86_FEATURE_PSE)
+#define cpu_has_pae \
+ (boot_cpu_data.x86_capability & X86_FEATURE_PAE)
#define cpu_has_tsc \
(cpu_data[smp_processor_id()].x86_capability & X86_FEATURE_TSC)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)