]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drivers/perf: Remove ARM_SPE_PMU explicit PERF_EVENTS dependency
authorJohn Garry <john.garry@huawei.com>
Tue, 22 May 2018 15:54:04 +0000 (23:54 +0800)
committerWill Deacon <will.deacon@arm.com>
Tue, 22 May 2018 16:11:12 +0000 (17:11 +0100)
Since commit bddb9b68d3fb ("drivers/perf: commonise PERF_EVENTS
dependency"), all perf drivers depend on PERF_EVENTS config under a
common menu.

Config ARM_SPE_PMU still declares explicitly a dependency on
PERF_EVENTS, which is unneeded, so remove it.

Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/perf/Kconfig

index 110330ecf714a8f29d2b8e017044b14564db0e38..08ebaf7cca8baf14b4ac19345d38cdabf80c110e 100644 (file)
@@ -96,7 +96,7 @@ config XGENE_PMU
 
 config ARM_SPE_PMU
        tristate "Enable support for the ARMv8.2 Statistical Profiling Extension"
 
 config ARM_SPE_PMU
        tristate "Enable support for the ARMv8.2 Statistical Profiling Extension"
-       depends on PERF_EVENTS && ARM64
+       depends on ARM64
        help
          Enable perf support for the ARMv8.2 Statistical Profiling
          Extension, which provides periodic sampling of operations in
        help
          Enable perf support for the ARMv8.2 Statistical Profiling
          Extension, which provides periodic sampling of operations in