summaryrefslogtreecommitdiff
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-04-28 16:19:31 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-04-28 16:19:31 +0300
commit29c5e7b2bc875c4ad5d3fd9e3c4ed2702e705bba (patch)
treed3586c1f6a89150fcf24702b24aa21dcd7745f7b /include/linux/sched.h
parent6f707daa3833761110a03478cba5cc4b708ec77d (diff)
parentb4f4b4b37133340befa354fbaa54d8e84ea86103 (diff)
downloadlinux-29c5e7b2bc875c4ad5d3fd9e3c4ed2702e705bba.tar.xz
Merge back earlier cpufreq material for v4.7.
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 52c4847b05e2..8344e1947eec 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -3240,7 +3240,10 @@ struct update_util_data {
u64 time, unsigned long util, unsigned long max);
};
-void cpufreq_set_update_util_data(int cpu, struct update_util_data *data);
+void cpufreq_add_update_util_hook(int cpu, struct update_util_data *data,
+ void (*func)(struct update_util_data *data, u64 time,
+ unsigned long util, unsigned long max));
+void cpufreq_remove_update_util_hook(int cpu);
#endif /* CONFIG_CPU_FREQ */
#endif