From 77fe8dd14da1d5f1cc32382a761206e8dd4ce6da Mon Sep 17 00:00:00 2001 From: Srivatsa Vaddagiri Date: Sat, 29 Mar 2014 16:56:45 -0700 Subject: sched: Introduce CONFIG_SCHED_FREQ_INPUT Introduce a compile time flag to enable scheduler guidance of frequency selection. This flag is also used to turn on or off window-based load stats feature. Having a compile time flag will let some platforms avoid any overhead that may be present with this scheduler feature. Change-Id: Id8dec9839f90dcac82f58ef7e2bd0ccd0b6bd16c Signed-off-by: Srivatsa Vaddagiri [rameezmustafa@codeaurora.org]: Port to msm-3.18] Signed-off-by: Syed Rameez Mustafa [joonwoop@codeaurora.org: fixed minor conflict around sysctl_timer_migration.] Signed-off-by: Joonwoo Park --- include/linux/sched.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/linux') diff --git a/include/linux/sched.h b/include/linux/sched.h index bf4b9f5e2434..42a09f9d83bd 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1424,7 +1424,9 @@ struct task_struct { const struct sched_class *sched_class; struct sched_entity se; struct sched_rt_entity rt; +#ifdef CONFIG_SCHED_FREQ_INPUT struct ravg ravg; +#endif #ifdef CONFIG_CGROUP_SCHED struct task_group *sched_task_group; #endif -- cgit v1.2.3