summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-12-29 11:54:15 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2017-12-29 11:54:15 -0800
commit61233580f1f33c50e159c50e24d80ffd2ba2e06b (patch)
tree5f24b18f2a1178e3c022b59e439bd66680b56717 /include
parent2758b3e3e630ba304fc4aca434d591e70e528298 (diff)
parent466a2b42d67644447a1765276259a3ea5531ddff (diff)
downloadlinux-61233580f1f33c50e159c50e24d80ffd2ba2e06b.tar.bz2
Merge tag 'pm-4.15-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
Pull power management fix from Rafael Wysocki: "This fixes a schedutil cpufreq governor regression from the 4.14 cycle that may cause a CPU idleness check to return incorrect results in some cases which leads to suboptimal decisions (Joel Fernandes)" * tag 'pm-4.15-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: cpufreq: schedutil: Use idle_calls counter of the remote CPU
Diffstat (limited to 'include')
-rw-r--r--include/linux/tick.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/tick.h b/include/linux/tick.h
index f442d1a42025..7cc35921218e 100644
--- a/include/linux/tick.h
+++ b/include/linux/tick.h
@@ -119,6 +119,7 @@ extern void tick_nohz_idle_exit(void);
extern void tick_nohz_irq_exit(void);
extern ktime_t tick_nohz_get_sleep_length(void);
extern unsigned long tick_nohz_get_idle_calls(void);
+extern unsigned long tick_nohz_get_idle_calls_cpu(int cpu);
extern u64 get_cpu_idle_time_us(int cpu, u64 *last_update_time);
extern u64 get_cpu_iowait_time_us(int cpu, u64 *last_update_time);
#else /* !CONFIG_NO_HZ_COMMON */