aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorMilton Miller <miltonm@bga.com>2007-10-15 11:00:19 -0400
committerIngo Molnar <mingo@elte.hu>2007-10-15 11:00:19 -0400
commit6323469f9b72530eb90c96ba162cc70f2f4611de (patch)
tree4b19d38ecb5f9d21ea5120980abe165fdce0c13a /kernel/sched.c
parentad1cdc1d7883e88f936f7888a092e4e3e6d8c631 (diff)
sched: domain sysctl fixes: add terminator comment
we had an incorrect-terminator bug in sd_alloc_ctl_domain_table() before, so add a comment that documents it. Signed-off-by: Milton Miller <miltonm@bga.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index f40fe027723f..9887ca005c50 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -5303,6 +5303,7 @@ sd_alloc_ctl_domain_table(struct sched_domain *sd)
5303 sizeof(int), 0644, proc_dointvec_minmax); 5303 sizeof(int), 0644, proc_dointvec_minmax);
5304 set_table_entry(&table[10], "flags", &sd->flags, 5304 set_table_entry(&table[10], "flags", &sd->flags,
5305 sizeof(int), 0644, proc_dointvec_minmax); 5305 sizeof(int), 0644, proc_dointvec_minmax);
5306 /* &table[11] is terminator */
5306 5307
5307 return table; 5308 return table;
5308} 5309}