projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/cpufeature: Replace cpu_has_avx with boot_cpu_has() usage
[cascardo/linux.git]
/
arch
/
x86
/
crypto
/
camellia_aesni_avx_glue.c
diff --git
a/arch/x86/crypto/camellia_aesni_avx_glue.c
b/arch/x86/crypto/camellia_aesni_avx_glue.c
index
6d256d5
..
d96429d
100644
(file)
--- a/
arch/x86/crypto/camellia_aesni_avx_glue.c
+++ b/
arch/x86/crypto/camellia_aesni_avx_glue.c
@@
-554,7
+554,7
@@
static int __init camellia_aesni_init(void)
{
const char *feature_name;
- if (!
cpu_has_avx
||
+ if (!
boot_cpu_has(X86_FEATURE_AVX)
||
!boot_cpu_has(X86_FEATURE_AES) ||
!boot_cpu_has(X86_FEATURE_OSXSAVE)) {
pr_info("AVX or AES-NI instructions are not detected.\n");