diff options
| -rw-r--r-- | arch/i386/kernel/cpu/common.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/i386/kernel/cpu/common.c b/arch/i386/kernel/cpu/common.c index 2799baaadf45..b2f24d57fddd 100644 --- a/arch/i386/kernel/cpu/common.c +++ b/arch/i386/kernel/cpu/common.c | |||
| @@ -184,7 +184,16 @@ static void __cpuinit get_cpu_vendor(struct cpuinfo_x86 *c, int early) | |||
| 184 | 184 | ||
| 185 | static int __init x86_fxsr_setup(char * s) | 185 | static int __init x86_fxsr_setup(char * s) |
| 186 | { | 186 | { |
| 187 | /* Tell all the other CPU's to not use it... */ | ||
| 187 | disable_x86_fxsr = 1; | 188 | disable_x86_fxsr = 1; |
| 189 | |||
| 190 | /* | ||
| 191 | * ... and clear the bits early in the boot_cpu_data | ||
| 192 | * so that the bootup process doesn't try to do this | ||
| 193 | * either. | ||
| 194 | */ | ||
| 195 | clear_bit(X86_FEATURE_FXSR, boot_cpu_data.x86_capability); | ||
| 196 | clear_bit(X86_FEATURE_XMM, boot_cpu_data.x86_capability); | ||
| 188 | return 1; | 197 | return 1; |
| 189 | } | 198 | } |
| 190 | __setup("nofxsr", x86_fxsr_setup); | 199 | __setup("nofxsr", x86_fxsr_setup); |
