projects
/
linux-2.6-microblaze.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
[linux-2.6-microblaze.git]
/
arch
/
arm64
/
crypto
/
chacha-neon-glue.c
diff --git
a/arch/arm64/crypto/chacha-neon-glue.c
b/arch/arm64/crypto/chacha-neon-glue.c
index
3a26a98
..
82029cd
100644
(file)
--- a/
arch/arm64/crypto/chacha-neon-glue.c
+++ b/
arch/arm64/crypto/chacha-neon-glue.c
@@
-174,7
+174,7
@@
static struct skcipher_alg algs[] = {
static int __init chacha_simd_mod_init(void)
{
- if (!
(elf_hwcap & HWCAP_
ASIMD))
+ if (!
cpu_have_named_feature(
ASIMD))
return -ENODEV;
return crypto_register_skciphers(algs, ARRAY_SIZE(algs));