x86/cpufeature: Replace cpu_has_avx with boot_cpu_has() usage
[cascardo/linux.git] / arch / x86 / crypto / camellia_aesni_avx_glue.c
index 6d256d5..d96429d 100644 (file)
@@ -554,7 +554,7 @@ static int __init camellia_aesni_init(void)
 {
        const char *feature_name;
 
-       if (!cpu_has_avx ||
+       if (!boot_cpu_has(X86_FEATURE_AVX) ||
            !boot_cpu_has(X86_FEATURE_AES) ||
            !boot_cpu_has(X86_FEATURE_OSXSAVE)) {
                pr_info("AVX or AES-NI instructions are not detected.\n");