]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - arch/x86/kernel/cpu/mtrr/main.c
x86/cpufeature: Remove unused and seldomly used cpu_has_xx macros
[mirror_ubuntu-artful-kernel.git] / arch / x86 / kernel / cpu / mtrr / main.c
index f891b4750f04c00b296b84598aa396bcbe9724c7..5c3d149ee91cb1f6c87ff6ad1853a38adfce82da 100644 (file)
@@ -682,7 +682,7 @@ void __init mtrr_bp_init(void)
 
        phys_addr = 32;
 
-       if (cpu_has_mtrr) {
+       if (boot_cpu_has(X86_FEATURE_MTRR)) {
                mtrr_if = &generic_mtrr_ops;
                size_or_mask = SIZE_OR_MASK_BITS(36);
                size_and_mask = 0x00f00000;