]> xenbits.xensource.com Git - people/julieng/freebsd.git/commitdiff
HWPMC depends on pmu.c even if device pmu is not specified.
authorbz <bz@FreeBSD.org>
Wed, 14 Oct 2015 17:07:24 +0000 (17:07 +0000)
committerbz <bz@FreeBSD.org>
Wed, 14 Oct 2015 17:07:24 +0000 (17:07 +0000)
Would be great if we could just automatically enabled "device pmu"
if we try to compile in HWPMC.

MFC after: 2 weeks
Sponsored by: DARPA/AFRL
Reviewed by: andrew
Differential Revision: https://reviews.freebsd.org/D3877

sys/conf/files.arm

index 85830bb6717c9343c91c2cab086e9c2be8ee2dc0..98410828d591fd3520c0a535e44aefbb6576d875 100644 (file)
@@ -56,7 +56,7 @@ arm/arm/platform_if.m         optional        platform
 arm/arm/pmap.c                 optional        !armv6
 arm/arm/pmap-v6.c              optional        armv6 !arm_new_pmap
 arm/arm/pmap-v6-new.c          optional        armv6 arm_new_pmap
-arm/arm/pmu.c                  optional        pmu
+arm/arm/pmu.c                  optional        pmu | hwpmc
 arm/arm/sc_machdep.c           optional        sc
 arm/arm/setcpsr.S              standard
 arm/arm/setstack.s             standard