HomeFreeBSD

module/icp/asm-arm/sha2: auto detect __ARM_ARCH

Description

module/icp/asm-arm/sha2: auto detect __ARM_ARCH

This patch uses __ARM_ARCH set by compiler (both
GCC and Clang have this) whenever possible instead
of hardcoding it to 7. This change allows code to
compile on earlier ARM architectures such as armv5te.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
Closes #15557

Details

Provenance
Shengqi Chen <harry-chen@outlook.com>Authored on Nov 22 2023, 1:58 PM
Tony Hutter <hutter2@llnl.gov>Committed on Aug 26 2024, 10:10 PM
Parents
rG86492e3c9655: Linux 6.10 compat: META
Branches
Unknown
Tags
Unknown