]> git.baikalelectronics.ru Git - kernel.git/commit
x86, fpu: remove cpu_has_xmm check in the fx_finit()
authorSuresh Siddha <suresh.b.siddha@intel.com>
Mon, 10 Sep 2012 17:40:08 +0000 (10:40 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 18 Sep 2012 22:52:24 +0000 (15:52 -0700)
commit847baa1ad6ef1abc3adb9d912cde41f71209a114
tree2385c494b946cfb55b81ceade8346ea4abac49d4
parent34889cd96dc1051a39c5a85fd571aa0ce1201158
x86, fpu: remove cpu_has_xmm check in the fx_finit()

CPUs with FXSAVE but no XMM/MXCSR (Pentium II from Intel,
Crusoe/TM-3xxx/5xxx from Transmeta, and presumably some of the K6
generation from AMD) ever looked at the mxcsr field during
fxrstor/fxsave. So remove the cpu_has_xmm check in the fx_finit()

Reported-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Link: http://lkml.kernel.org/r/1347300665-6209-6-git-send-email-suresh.b.siddha@intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/fpu-internal.h