Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jun 2019 16:05:21 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r348995 - head/sys/modules/hwpmc
Message-ID:  <201906121605.x5CG5LvN022494@repo.freebsd.org>

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



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