diff options
Diffstat (limited to 'include/asm-x86/required-features.h')
-rw-r--r-- | include/asm-x86/required-features.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/asm-x86/required-features.h b/include/asm-x86/required-features.h index 7400d3ad75c6..adec887dd7cd 100644 --- a/include/asm-x86/required-features.h +++ b/include/asm-x86/required-features.h | |||
@@ -19,9 +19,13 @@ | |||
19 | 19 | ||
20 | #if defined(CONFIG_X86_PAE) || defined(CONFIG_X86_64) | 20 | #if defined(CONFIG_X86_PAE) || defined(CONFIG_X86_64) |
21 | # define NEED_PAE (1<<(X86_FEATURE_PAE & 31)) | 21 | # define NEED_PAE (1<<(X86_FEATURE_PAE & 31)) |
22 | # define NEED_CX8 (1<<(X86_FEATURE_CX8 & 31)) | ||
23 | #else | 22 | #else |
24 | # define NEED_PAE 0 | 23 | # define NEED_PAE 0 |
24 | #endif | ||
25 | |||
26 | #ifdef CONFIG_X86_CMPXCHG64 | ||
27 | # define NEED_CX8 (1<<(X86_FEATURE_CX8 & 31)) | ||
28 | #else | ||
25 | # define NEED_CX8 0 | 29 | # define NEED_CX8 0 |
26 | #endif | 30 | #endif |
27 | 31 | ||
@@ -38,7 +42,7 @@ | |||
38 | #endif | 42 | #endif |
39 | 43 | ||
40 | #ifdef CONFIG_X86_64 | 44 | #ifdef CONFIG_X86_64 |
41 | #define NEED_PSE (1<<(X86_FEATURE_PSE & 31)) | 45 | #define NEED_PSE 0 |
42 | #define NEED_MSR (1<<(X86_FEATURE_MSR & 31)) | 46 | #define NEED_MSR (1<<(X86_FEATURE_MSR & 31)) |
43 | #define NEED_PGE (1<<(X86_FEATURE_PGE & 31)) | 47 | #define NEED_PGE (1<<(X86_FEATURE_PGE & 31)) |
44 | #define NEED_FXSR (1<<(X86_FEATURE_FXSR & 31)) | 48 | #define NEED_FXSR (1<<(X86_FEATURE_FXSR & 31)) |