]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/x86/crypto/twofish_avx_glue.c
Merge remote-tracking branch 'samsung/for-next'
[karo-tx-linux.git] / arch / x86 / crypto / twofish_avx_glue.c
index c2bd0ce718eee505272249386dffef3cc417dad8..b7a3904b953c6146f543a164e6456c1893102a92 100644 (file)
@@ -558,7 +558,7 @@ static int __init twofish_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;
        }