aboutsummaryrefslogtreecommitdiff
path: root/sys/arm64/arm64/identcpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arm64/arm64/identcpu.c')
-rw-r--r--sys/arm64/arm64/identcpu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arm64/arm64/identcpu.c b/sys/arm64/arm64/identcpu.c
index e84ac338497b..5d23e1495dea 100644
--- a/sys/arm64/arm64/identcpu.c
+++ b/sys/arm64/arm64/identcpu.c
@@ -2203,6 +2203,8 @@ identify_cpu_sysinit(void *dummy __unused)
/* Find the values to export to userspace as AT_HWCAP and AT_HWCAP2 */
parse_cpu_features();
+ /* We export the CPUID registers */
+ elf_hwcap |= HWCAP_CPUID;
#ifdef COMPAT_FREEBSD32
/* Set the default caps and any that need to check multiple fields */