X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=arch%2Fx86%2Fcrypto%2Fcamellia_aesni_avx_glue.c;h=93d8f295784e399c2fc363d8b5602fede9039529;hb=ccf21b69a83afaee4d5499e0d03eacf23946e08c;hp=bacaa13acac544e037571bd292e91f5239256edc;hpb=23d88271b4f97f66de521ac9b2c1471e6311cf26;p=firefly-linux-kernel-4.4.55.git diff --git a/arch/x86/crypto/camellia_aesni_avx_glue.c b/arch/x86/crypto/camellia_aesni_avx_glue.c index bacaa13acac5..93d8f295784e 100644 --- a/arch/x86/crypto/camellia_aesni_avx_glue.c +++ b/arch/x86/crypto/camellia_aesni_avx_glue.c @@ -559,7 +559,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; }