sched: fix compile error where !CONFIG_SCHED_FREQ_INPUT

The sysctl node sched_new_task_windows is only for CONFIG_SCHED_HMP and
CONFIG_SCHED_FREQ_INPUT.

Change-Id: I4791e977fa8516fd2cd31198f71103b8d7e874c3
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
This commit is contained in:
Joonwoo Park 2015-12-17 13:23:03 -08:00 committed by David Keitel
parent 9df619ba91
commit 20af1732c6

View file

@ -431,6 +431,7 @@ static struct ctl_table kern_table[] = {
.mode = 0644,
.proc_handler = proc_dointvec,
},
#if defined(CONFIG_SCHED_FREQ_INPUT) && defined(CONFIG_SCHED_HMP)
{
.procname = "sched_new_task_windows",
.data = &sysctl_sched_new_task_windows,
@ -438,6 +439,7 @@ static struct ctl_table kern_table[] = {
.mode = 0644,
.proc_handler = sched_window_update_handler,
},
#endif
{
.procname = "sched_early_detection_duration",
.data = &sysctl_early_detection_duration,