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 / aes-neonbs-glue.c
index 5144551..02b65d9 100644 (file)
@@ -442,7 +442,7 @@ static int __init aes_init(void)
        int err;
        int i;
 
-       if (!(elf_hwcap & HWCAP_ASIMD))
+       if (!cpu_have_named_feature(ASIMD))
                return -ENODEV;
 
        err = crypto_register_skciphers(aes_algs, ARRAY_SIZE(aes_algs));