]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/x86/crypto/camellia_aesni_avx2_glue.c
Merge remote-tracking branch 'sunxi/sunxi/for-next'
[karo-tx-linux.git] / arch / x86 / crypto / camellia_aesni_avx2_glue.c
index 4c65c70e628bb2776c17c106973b2f2b668890fb..d844569245633845da1fe485dca9c44043be680f 100644 (file)
@@ -567,7 +567,8 @@ static int __init camellia_aesni_init(void)
                return -ENODEV;
        }
 
-       if (!cpu_has_xfeatures(XSTATE_SSE | XSTATE_YMM, &feature_name)) {
+       if (!cpu_has_xfeatures(XFEATURE_MASK_SSE | XFEATURE_MASK_YMM,
+                               &feature_name)) {
                pr_info("CPU feature '%s' is not supported.\n", feature_name);
                return -ENODEV;
        }