diff options
Diffstat (limited to 'arch/x86/crypto/poly1305_glue.c')
-rw-r--r-- | arch/x86/crypto/poly1305_glue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/crypto/poly1305_glue.c b/arch/x86/crypto/poly1305_glue.c index f7170d764f32..4264a3d59589 100644 --- a/arch/x86/crypto/poly1305_glue.c +++ b/arch/x86/crypto/poly1305_glue.c | |||
@@ -184,7 +184,7 @@ static int __init poly1305_simd_mod_init(void) | |||
184 | 184 | ||
185 | #ifdef CONFIG_AS_AVX2 | 185 | #ifdef CONFIG_AS_AVX2 |
186 | poly1305_use_avx2 = cpu_has_avx && cpu_has_avx2 && | 186 | poly1305_use_avx2 = cpu_has_avx && cpu_has_avx2 && |
187 | cpu_has_xfeatures(XSTATE_SSE | XSTATE_YMM, NULL); | 187 | cpu_has_xfeatures(XFEATURE_MASK_SSE | XFEATURE_MASK_YMM, NULL); |
188 | alg.descsize = sizeof(struct poly1305_simd_desc_ctx); | 188 | alg.descsize = sizeof(struct poly1305_simd_desc_ctx); |
189 | if (poly1305_use_avx2) | 189 | if (poly1305_use_avx2) |
190 | alg.descsize += 10 * sizeof(u32); | 190 | alg.descsize += 10 * sizeof(u32); |