]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/crypto/padlock-aes.c
x86/cpufeature: Remove unused and seldomly used cpu_has_xx macros
[mirror_ubuntu-artful-kernel.git] / drivers / crypto / padlock-aes.c
index da2d6777bd092f0a373e14cc960514b8a4f5d148..97a364694bfced664b33498505fa6510d8979d7c 100644 (file)
@@ -515,7 +515,7 @@ static int __init padlock_init(void)
        if (!x86_match_cpu(padlock_cpu_id))
                return -ENODEV;
 
-       if (!cpu_has_xcrypt_enabled) {
+       if (!boot_cpu_has(X86_FEATURE_XCRYPT_EN)) {
                printk(KERN_NOTICE PFX "VIA PadLock detected, but not enabled. Hmm, strange...\n");
                return -ENODEV;
        }