Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Oct 2015 21:09:28 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r289853 - head/sys/modules/hwpmc
Message-ID:  <201510232109.t9NL9SDU016127@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510232109.t9NL9SDU016127>