1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-16 15:11:52 +00:00

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@
This commit is contained in:
Ian Lepore 2019-06-12 16:05:20 +00:00
parent 664104b4af
commit 3a3ab50916
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=348995

View File

@ -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