svn commit: r289853 - head/sys/modules/hwpmc

Ed Maste emaste at FreeBSD.org
Fri Oct 23 21:09:29 UTC 2015


Author: emaste
Date: Fri Oct 23 21:09:28 2015
New Revision: 289853
URL: https://svnweb.freebsd.org/changeset/base/289853

Log:
  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

Modified:
  head/sys/modules/hwpmc/Makefile

Modified: head/sys/modules/hwpmc/Makefile
==============================================================================
--- head/sys/modules/hwpmc/Makefile	Fri Oct 23 21:01:46 2015	(r289852)
+++ head/sys/modules/hwpmc/Makefile	Fri Oct 23 21:09:28 2015	(r289853)
@@ -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


More information about the svn-src-all mailing list