Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 38232
b: refs/heads/master
c: 8ccb3dc
h: refs/heads/master
v: v3
  • Loading branch information
Linus Torvalds committed Oct 3, 2006
1 parent 50491c4 commit 7db2d83
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 63c422afe3739b68bec0b5c42807d1450c951caf
refs/heads/master: 8ccb3dcd1f8e80e8702642e1de26541b52f6bb7c
9 changes: 9 additions & 0 deletions trunk/arch/i386/kernel/cpu/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,16 @@ static void __cpuinit get_cpu_vendor(struct cpuinfo_x86 *c, int early)

static int __init x86_fxsr_setup(char * s)
{
/* Tell all the other CPU's to not use it... */
disable_x86_fxsr = 1;

/*
* ... and clear the bits early in the boot_cpu_data
* so that the bootup process doesn't try to do this
* either.
*/
clear_bit(X86_FEATURE_FXSR, boot_cpu_data.x86_capability);
clear_bit(X86_FEATURE_XMM, boot_cpu_data.x86_capability);
return 1;
}
__setup("nofxsr", x86_fxsr_setup);
Expand Down

0 comments on commit 7db2d83

Please sign in to comment.