diff options
Diffstat (limited to 'arch/x86/kernel/cpu/common.c')
-rw-r--r-- | arch/x86/kernel/cpu/common.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c index dfc9563fc4f0..56b7ea8e6c79 100644 --- a/arch/x86/kernel/cpu/common.c +++ b/arch/x86/kernel/cpu/common.c | |||
@@ -542,6 +542,13 @@ void __cpuinit detect_ht(struct cpuinfo_x86 *c) | |||
542 | } | 542 | } |
543 | #endif | 543 | #endif |
544 | 544 | ||
545 | static __init int setup_noclflush(char *arg) | ||
546 | { | ||
547 | setup_clear_cpu_cap(X86_FEATURE_CLFLSH); | ||
548 | return 1; | ||
549 | } | ||
550 | __setup("noclflush", setup_noclflush); | ||
551 | |||
545 | void __cpuinit print_cpu_info(struct cpuinfo_x86 *c) | 552 | void __cpuinit print_cpu_info(struct cpuinfo_x86 *c) |
546 | { | 553 | { |
547 | char *vendor = NULL; | 554 | char *vendor = NULL; |