diff options
author | Andi Kleen <ak@suse.de> | 2006-12-06 20:14:05 -0500 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2006-12-06 20:14:05 -0500 |
commit | 3760dd6efa75c98e223643da2eb7040406433053 (patch) | |
tree | 2af24364ffedbf2c21c975c028d7fee80da28335 /include/asm-i386/cpufeature.h | |
parent | 770d132f03ac15b12919f1bac481f4beda13e094 (diff) |
[PATCH] i386: Use CLFLUSH instead of WBINVD in change_page_attr
CLFLUSH is a lot faster than WBINVD so try to use that.
Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'include/asm-i386/cpufeature.h')
-rw-r--r-- | include/asm-i386/cpufeature.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-i386/cpufeature.h b/include/asm-i386/cpufeature.h index 231672558c1f..4c83e059228f 100644 --- a/include/asm-i386/cpufeature.h +++ b/include/asm-i386/cpufeature.h | |||
@@ -137,6 +137,7 @@ | |||
137 | #define cpu_has_pmm_enabled boot_cpu_has(X86_FEATURE_PMM_EN) | 137 | #define cpu_has_pmm_enabled boot_cpu_has(X86_FEATURE_PMM_EN) |
138 | #define cpu_has_ds boot_cpu_has(X86_FEATURE_DS) | 138 | #define cpu_has_ds boot_cpu_has(X86_FEATURE_DS) |
139 | #define cpu_has_pebs boot_cpu_has(X86_FEATURE_PEBS) | 139 | #define cpu_has_pebs boot_cpu_has(X86_FEATURE_PEBS) |
140 | #define cpu_has_clflush boot_cpu_has(X86_FEATURE_CLFLSH) | ||
140 | 141 | ||
141 | #endif /* __ASM_I386_CPUFEATURE_H */ | 142 | #endif /* __ASM_I386_CPUFEATURE_H */ |
142 | 143 | ||