x86/cpufeature: Replace cpu_has_xmm with boot_cpu_has() usage
[linux-2.6-block.git] / arch / x86 / kernel / fpu / core.c
index 8e37cc8a539adc1c9d348d9a25b13815d4166aa6..b05aa68f88c0fcbddbeefe626d0a2c0d17962e70 100644 (file)
@@ -526,7 +526,7 @@ static inline unsigned short get_fpu_swd(struct fpu *fpu)
 
 static inline unsigned short get_fpu_mxcsr(struct fpu *fpu)
 {
-       if (cpu_has_xmm) {
+       if (boot_cpu_has(X86_FEATURE_XMM)) {
                return fpu->state.fxsave.mxcsr;
        } else {
                return MXCSR_DEFAULT;