]> Git Repo - linux.git/commit
thermal/cpu-cooling, sched/core: Move the arch_set_thermal_pressure() API to generic...
authorIngo Molnar <[email protected]>
Fri, 6 Mar 2020 13:26:31 +0000 (14:26 +0100)
committerIngo Molnar <[email protected]>
Fri, 6 Mar 2020 13:26:31 +0000 (14:26 +0100)
commit14533a16c46db70b8a75eda8fa633c25ac446d81
tree05f2121243644072c6dd4d316d39c999b103a79d
parentd94a9df49069ba8ff7c4aaeca1229e6471a01a15
thermal/cpu-cooling, sched/core: Move the arch_set_thermal_pressure() API to generic scheduler code

drivers/base/arch_topology.c is only built if CONFIG_GENERIC_ARCH_TOPOLOGY=y,
resulting in such build failures:

  cpufreq_cooling.c:(.text+0x1e7): undefined reference to `arch_set_thermal_pressure'

Move it to sched/core.c instead, and keep it enabled on x86 despite
us not having a arch_scale_thermal_pressure() facility there, to
build-test this thing.

Cc: Thara Gopinath <[email protected]>
Cc: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
drivers/base/arch_topology.c
kernel/sched/core.c
This page took 0.055856 seconds and 4 git commands to generate.