]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/x86/crypto/serpent_avx_glue.c
Merge remote-tracking branch 'ipsec/master'
[karo-tx-linux.git] / arch / x86 / crypto / serpent_avx_glue.c
index da7dafc9b16d5cca124e4f6d01d4462f0cb92b15..5dc37026c7ce6d78407cd04cea618a10d14174a8 100644 (file)
@@ -597,7 +597,8 @@ static int __init serpent_init(void)
 {
        const char *feature_name;
 
-       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;
        }