summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorMilton Miller <miltonm@bga.com>2007-10-15 17:00:19 +0200
committerIngo Molnar <mingo@elte.hu>2007-10-15 17:00:19 +0200
commit6323469f9b72530eb90c96ba162cc70f2f4611de (patch)
tree4b19d38ecb5f9d21ea5120980abe165fdce0c13a /kernel
parentad1cdc1d7883e88f936f7888a092e4e3e6d8c631 (diff)
downloadblackbird-obmc-linux-6323469f9b72530eb90c96ba162cc70f2f4611de.tar.gz
blackbird-obmc-linux-6323469f9b72530eb90c96ba162cc70f2f4611de.zip
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')
-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)
sizeof(int), 0644, proc_dointvec_minmax);
set_table_entry(&table[10], "flags", &sd->flags,
sizeof(int), 0644, proc_dointvec_minmax);
+ /* &table[11] is terminator */
return table;
}
OpenPOWER on IntegriCloud