projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'arm64-perf' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
[linux-2.6-block.git]
/
arch
/
x86
/
crypto
/
serpent_avx2_glue.c
diff --git
a/arch/x86/crypto/serpent_avx2_glue.c
b/arch/x86/crypto/serpent_avx2_glue.c
index 6d198342e2de4951635c46aa3486c88cbc793274..870f6d812a2dd251392498ce10fabef37a3826ff 100644
(file)
--- a/
arch/x86/crypto/serpent_avx2_glue.c
+++ b/
arch/x86/crypto/serpent_avx2_glue.c
@@
-538,7
+538,7
@@
static int __init init(void)
{
const char *feature_name;
- if (!
cpu_has_avx2 || !cpu_has_osxsave
) {
+ if (!
boot_cpu_has(X86_FEATURE_AVX2) || !boot_cpu_has(X86_FEATURE_OSXSAVE)
) {
pr_info("AVX2 instructions are not detected.\n");
return -ENODEV;
}