Skip to content

Commit e17ae7f

Browse files
Valentin SchneiderPeter Zijlstra
authored andcommitted
arm, arm64: Select CONFIG_SCHED_THERMAL_PRESSURE
This option now correctly depends on CPU_FREQ_THERMAL, so select it on the architectures that implement the required functions, arch_set_thermal_pressure() and arch_get_thermal_pressure(). Signed-off-by: Valentin Schneider <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Acked-by: Catalin Marinas <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent 98eb401 commit e17ae7f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

arch/arm/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ config ARM
4646
select EDAC_ATOMIC_SCRUB
4747
select GENERIC_ALLOCATOR
4848
select GENERIC_ARCH_TOPOLOGY if ARM_CPU_TOPOLOGY
49+
select SCHED_THERMAL_PRESSURE if ARM_CPU_TOPOLOGY
4950
select GENERIC_ATOMIC64 if CPU_V7M || CPU_V6 || !CPU_32v6K || !AEABI
5051
select GENERIC_CLOCKEVENTS_BROADCAST if SMP
5152
select GENERIC_CPU_AUTOPROBE

arch/arm64/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ config ARM64
192192
select PCI_SYSCALL if PCI
193193
select POWER_RESET
194194
select POWER_SUPPLY
195+
select SCHED_THERMAL_PRESSURE
195196
select SPARSE_IRQ
196197
select SWIOTLB
197198
select SYSCTL_EXCEPTION_TRACE

0 commit comments

Comments
 (0)