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

Ian Lepore ian at FreeBSD.org
Wed Jun 12 16:05:22 UTC 2019


Author: ian
Date: Wed Jun 12 16:05:20 2019
New Revision: 348995
URL: https://svnweb.freebsd.org/changeset/base/348995

Log:
  Don't attempt to include hwpmc support for armv6, we're missing some of the
  necessary support functions in cpu-v6.h, and it may be that the only armv6
  platform we support (RPi, the bcm2835 SOC) is incapable of supporting hwpmc.
  
  Reported by:	dim@

Modified:
  head/sys/modules/hwpmc/Makefile

Modified: head/sys/modules/hwpmc/Makefile
==============================================================================
--- head/sys/modules/hwpmc/Makefile	Wed Jun 12 15:58:11 2019	(r348994)
+++ head/sys/modules/hwpmc/Makefile	Wed Jun 12 16:05:20 2019	(r348995)
@@ -22,7 +22,7 @@ SRCS+=	hwpmc_x86.c hwpmc_uncore.c
 SRCS+=	hwpmc_arm.c
 .endif
 
-.if ${MACHINE_ARCH:Marmv[67]*} != ""
+.if ${MACHINE_ARCH} == "armv7"
 SRCS+= hwpmc_armv7.c
 .endif
 


More information about the svn-src-all mailing list