diff mbox series

drivers/perf: Remove ARM_SPE_PMU explicit PERF_EVENTS dependency

Message ID 1527004444-239462-1-git-send-email-john.garry@huawei.com
State Accepted
Commit b89205bd508ed384253b4449c6a7a755b956a0f8
Headers show
Series drivers/perf: Remove ARM_SPE_PMU explicit PERF_EVENTS dependency | expand

Commit Message

John Garry May 22, 2018, 3:54 p.m. UTC
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.

Signed-off-by: John Garry <john.garry@huawei.com>


-- 
1.9.1

Comments

Mark Rutland May 22, 2018, 4:08 p.m. UTC | #1
On Tue, May 22, 2018 at 11:54:04PM +0800, John Garry wrote:
> 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.

> 

> Signed-off-by: John Garry <john.garry@huawei.com>


Acked-by: Mark Rutland <mark.rutland@arm.com>


Will, I assume that you will queue this.

Mark.

> 

> diff --git a/drivers/perf/Kconfig b/drivers/perf/Kconfig

> index 28bb5a0..90ce4da 100644

> --- a/drivers/perf/Kconfig

> +++ b/drivers/perf/Kconfig

> @@ -94,7 +94,7 @@ config XGENE_PMU

>  

>  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

> -- 

> 1.9.1

>
diff mbox series

Patch

diff --git a/drivers/perf/Kconfig b/drivers/perf/Kconfig
index 28bb5a0..90ce4da 100644
--- a/drivers/perf/Kconfig
+++ b/drivers/perf/Kconfig
@@ -94,7 +94,7 @@  config XGENE_PMU
 
 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