]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/x86/crypto/cast5_avx_glue.c
Merge remote-tracking branch 'omap/for-next'
[karo-tx-linux.git] / arch / x86 / crypto / cast5_avx_glue.c
index be00aa48b2b5e3044ea8a397b0df37428e409447..8648158f39166f1cf1603fc7f139af629e163bde 100644 (file)
@@ -469,7 +469,8 @@ static int __init cast5_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;
        }