projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.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
|
blame
|
history
diff --git
a/kernel/sched.c
b/kernel/sched.c
index f40fe027723f7473a1ad91ec0fce2aa48121855e..9887ca005c50339b84417b60934d09763d838f33 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;
}