summaryrefslogtreecommitdiffstats
path: root/arch/x86/crypto/sha1_ssse3_glue.c
diff options
context:
space:
mode:
authorHerbert Xu2017-08-22 08:53:32 +0200
committerHerbert Xu2017-08-22 08:53:32 +0200
commite90c48efde40f8428777424e6edbbb240b441652 (patch)
treec023a7a8fa0255f03040c63a73068eaaca03f1af /arch/x86/crypto/sha1_ssse3_glue.c
parentcrypto: ccp - use dma_mapping_error to check map error (diff)
parentcrypto: algif_skcipher - only call put_page on referenced and used pages (diff)
downloadkernel-qcow2-linux-e90c48efde40f8428777424e6edbbb240b441652.tar.gz
kernel-qcow2-linux-e90c48efde40f8428777424e6edbbb240b441652.tar.xz
kernel-qcow2-linux-e90c48efde40f8428777424e6edbbb240b441652.zip
Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
Merge the crypto tree to resolve the conflict between the temporary and long-term fixes in algif_skcipher.
Diffstat (limited to 'arch/x86/crypto/sha1_ssse3_glue.c')
-rw-r--r--arch/x86/crypto/sha1_ssse3_glue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/crypto/sha1_ssse3_glue.c b/arch/x86/crypto/sha1_ssse3_glue.c
index f960a043cdeb..fc61739150e7 100644
--- a/arch/x86/crypto/sha1_ssse3_glue.c
+++ b/arch/x86/crypto/sha1_ssse3_glue.c
@@ -201,7 +201,7 @@ asmlinkage void sha1_transform_avx2(u32 *digest, const char *data,
static bool avx2_usable(void)
{
- if (false && avx_usable() && boot_cpu_has(X86_FEATURE_AVX2)
+ if (avx_usable() && boot_cpu_has(X86_FEATURE_AVX2)
&& boot_cpu_has(X86_FEATURE_BMI1)
&& boot_cpu_has(X86_FEATURE_BMI2))
return true;