summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2015-10-23 21:09:28 +0000
committeremaste <emaste@FreeBSD.org>2015-10-23 21:09:28 +0000
commitd6dd3d401d46c771171c5116b3e183f5fd2d6e77 (patch)
treef1d96aa29e9e57b393df4845bc4af75a38bea021
parent0f7ad9fc121160651a41d7a2f07fcdddbbafdb37 (diff)
downloadFreeBSD-src-d6dd3d401d46c771171c5116b3e183f5fd2d6e77.zip
FreeBSD-src-d6dd3d401d46c771171c5116b3e183f5fd2d6e77.tar.gz
Add aarch64 files to the hwpmc(4) module build
This was probably missed because FreeBSD/arm64 did not yet support modules when aarch64 support was added to hwpmc(4). Submitted by: andrew
-rw-r--r--sys/modules/hwpmc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/modules/hwpmc/Makefile b/sys/modules/hwpmc/Makefile
index cfae7b6..5e6ea30 100644
--- a/sys/modules/hwpmc/Makefile
+++ b/sys/modules/hwpmc/Makefile
@@ -8,6 +8,10 @@ KMOD= hwpmc
SRCS= hwpmc_mod.c hwpmc_logging.c hwpmc_soft.c vnode_if.h
+.if ${MACHINE_CPUARCH} == "aarch64"
+SRCS+= hwpmc_arm64.c hwpmc_arm64_md.c
+.endif
+
.if ${MACHINE_CPUARCH} == "amd64"
SRCS+= hwpmc_amd.c hwpmc_core.c hwpmc_intel.c hwpmc_piv.c hwpmc_tsc.c
SRCS+= hwpmc_x86.c hwpmc_uncore.c
OpenPOWER on IntegriCloud