diff options
-rw-r--r-- | kernel/sched.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 48fc74b6df55..b7dff36c7c8c 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -5284,7 +5284,7 @@ set_table_entry(struct ctl_table *entry, | |||
5284 | static struct ctl_table * | 5284 | static struct ctl_table * |
5285 | sd_alloc_ctl_domain_table(struct sched_domain *sd) | 5285 | sd_alloc_ctl_domain_table(struct sched_domain *sd) |
5286 | { | 5286 | { |
5287 | struct ctl_table *table = sd_alloc_ctl_entry(14); | 5287 | struct ctl_table *table = sd_alloc_ctl_entry(12); |
5288 | 5288 | ||
5289 | set_table_entry(&table[0], "min_interval", &sd->min_interval, | 5289 | set_table_entry(&table[0], "min_interval", &sd->min_interval, |
5290 | sizeof(long), 0644, proc_doulongvec_minmax); | 5290 | sizeof(long), 0644, proc_doulongvec_minmax); |
@@ -5304,10 +5304,10 @@ sd_alloc_ctl_domain_table(struct sched_domain *sd) | |||
5304 | sizeof(int), 0644, proc_dointvec_minmax); | 5304 | sizeof(int), 0644, proc_dointvec_minmax); |
5305 | set_table_entry(&table[8], "imbalance_pct", &sd->imbalance_pct, | 5305 | set_table_entry(&table[8], "imbalance_pct", &sd->imbalance_pct, |
5306 | sizeof(int), 0644, proc_dointvec_minmax); | 5306 | sizeof(int), 0644, proc_dointvec_minmax); |
5307 | set_table_entry(&table[10], "cache_nice_tries", | 5307 | set_table_entry(&table[9], "cache_nice_tries", |
5308 | &sd->cache_nice_tries, | 5308 | &sd->cache_nice_tries, |
5309 | sizeof(int), 0644, proc_dointvec_minmax); | 5309 | sizeof(int), 0644, proc_dointvec_minmax); |
5310 | set_table_entry(&table[12], "flags", &sd->flags, | 5310 | set_table_entry(&table[10], "flags", &sd->flags, |
5311 | sizeof(int), 0644, proc_dointvec_minmax); | 5311 | sizeof(int), 0644, proc_dointvec_minmax); |
5312 | 5312 | ||
5313 | return table; | 5313 | return table; |