projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad1cdc1
)
sched: domain sysctl fixes: add terminator comment
author
Milton Miller
<miltonm@bga.com>
Mon, 15 Oct 2007 15:00:19 +0000
(17:00 +0200)
committer
Ingo Molnar
<mingo@elte.hu>
Mon, 15 Oct 2007 15:00:19 +0000
(17:00 +0200)
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>
kernel/sched.c
patch
|
blob
|
history
diff --git
a/kernel/sched.c
b/kernel/sched.c
index
f40fe02
..
9887ca0
100644
(file)
--- 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;
}