]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - arch/x86/kernel/cpu/common.c
x86/cpufeature: Replace cpu_has_tsc with boot_cpu_has() usage
[mirror_ubuntu-artful-kernel.git] / arch / x86 / kernel / cpu / common.c
index 28d3255edf00098dccb1b63968deb82cce9819c4..6bfa36de6d9f682c0895840a6f00b89d8b8da10c 100644 (file)
@@ -1558,7 +1558,7 @@ void cpu_init(void)
        pr_info("Initializing CPU#%d\n", cpu);
 
        if (cpu_feature_enabled(X86_FEATURE_VME) ||
-           cpu_has_tsc ||
+           boot_cpu_has(X86_FEATURE_TSC) ||
            boot_cpu_has(X86_FEATURE_DE))
                cr4_clear_bits(X86_CR4_VME|X86_CR4_PVI|X86_CR4_TSD|X86_CR4_DE);