projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
[firefly-linux-kernel-4.4.55.git]
/
arch
/
x86
/
crypto
/
sha1_ssse3_glue.c
diff --git
a/arch/x86/crypto/sha1_ssse3_glue.c
b/arch/x86/crypto/sha1_ssse3_glue.c
index c934197fe84ae05b07a2e8a1196a6d74f581807b..dd14616b773970d13c2886f255c0f76b4eb58450 100644
(file)
--- a/
arch/x86/crypto/sha1_ssse3_glue.c
+++ b/
arch/x86/crypto/sha1_ssse3_glue.c
@@
-165,7
+165,7
@@
static struct shash_alg sha1_avx_alg = {
static bool avx_usable(void)
{
- if (!cpu_has_xfeatures(X
STATE_SSE | XSTATE
_YMM, NULL)) {
+ if (!cpu_has_xfeatures(X
FEATURE_MASK_SSE | XFEATURE_MASK
_YMM, NULL)) {
if (cpu_has_avx)
pr_info("AVX detected but unusable.\n");
return false;