summaryrefslogtreecommitdiff
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorSrivatsa Vaddagiri <vatsa@codeaurora.org>2014-08-11 09:22:24 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:00:24 -0700
commite39131c3bece6c558bf6a10792654f6c62b9fed8 (patch)
treebcce686b25cbf54a4c458497e3dd1269fd4f34d6 /kernel/sysctl.c
parent90a01bb623b08e0fac1f7e771cbf23d27cdb1abc (diff)
sched: window-stats: Code cleanup
Remove code duplication associated with update of various window-stats related sysctl tunables Change-Id: I64e29ac065172464ba371a03758937999c42a71f Signed-off-by: Srivatsa Vaddagiri <vatsa@codeaurora.org>
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r--kernel/sysctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index e67ec03d9a97..be2318bdf4ae 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -314,21 +314,21 @@ static struct ctl_table kern_table[] = {
.data = &sysctl_sched_account_wait_time,
.maxlen = sizeof(unsigned int),
.mode = 0644,
- .proc_handler = sched_acct_wait_time_update_handler,
+ .proc_handler = sched_window_update_handler,
},
{
.procname = "sched_ravg_hist_size",
.data = &sysctl_sched_ravg_hist_size,
.maxlen = sizeof(unsigned int),
.mode = 0644,
- .proc_handler = sched_ravg_hist_size_update_handler,
+ .proc_handler = sched_window_update_handler,
},
{
.procname = "sched_window_stats_policy",
.data = &sysctl_sched_window_stats_policy,
.maxlen = sizeof(unsigned int),
.mode = 0644,
- .proc_handler = sched_window_stats_policy_update_handler,
+ .proc_handler = sched_window_update_handler,
},
{
.procname = "sched_wakeup_load_threshold",