diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 306943f531a3e175ecf9595b50e1a76ff225fe44..fa077929e3154bb3a82eb4a227978bab2ef7b5c2 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -4933,7 +4933,7 @@ static void sd_free_ctl_entry(struct ctl_table **tablep) } static int min_load_idx = 0; -static int max_load_idx = CPU_LOAD_IDX_MAX; +static int max_load_idx = CPU_LOAD_IDX_MAX-1; static void set_table_entry(struct ctl_table *entry,