x86/mm/pat: Don't report PAT on CPUs that don't support it
[linux/fpc-iii.git] / arch / x86 / boot / cpuflags.h
blob15ad56a3f9052174a65b60076f408985a0eec0d8
1 #ifndef BOOT_CPUFLAGS_H
2 #define BOOT_CPUFLAGS_H
4 #include <asm/cpufeatures.h>
5 #include <asm/processor-flags.h>
7 struct cpu_features {
8 int level; /* Family, or 64 for x86-64 */
9 int family; /* Family, always */
10 int model;
11 u32 flags[NCAPINTS];
14 extern struct cpu_features cpu;
15 extern u32 cpu_vendor[3];
17 int has_eflag(unsigned long mask);
18 void get_cpuflags(void);
20 #endif