diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-06-23 05:30:23 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-06-23 05:30:23 -0400 |
commit | 1de8644cc7c826e0c41e52825bd5a12e2e31e6ca (patch) | |
tree | df1e884080599facaf70d2675c480e999da953e1 /kernel/sched.c | |
parent | 6c3df25511c2c51f2dd36cc52a8d22363d731793 (diff) | |
parent | 481c5346d0981940ee63037eb53e4e37b0735c10 (diff) |
Merge branch 'linus' into sched/devel
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 1f711a58a2b4..adb2d01fccc2 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -6919,7 +6919,12 @@ static int default_relax_domain_level = -1; | |||
6919 | 6919 | ||
6920 | static int __init setup_relax_domain_level(char *str) | 6920 | static int __init setup_relax_domain_level(char *str) |
6921 | { | 6921 | { |
6922 | default_relax_domain_level = simple_strtoul(str, NULL, 0); | 6922 | unsigned long val; |
6923 | |||
6924 | val = simple_strtoul(str, NULL, 0); | ||
6925 | if (val < SD_LV_MAX) | ||
6926 | default_relax_domain_level = val; | ||
6927 | |||
6923 | return 1; | 6928 | return 1; |
6924 | } | 6929 | } |
6925 | __setup("relax_domain_level=", setup_relax_domain_level); | 6930 | __setup("relax_domain_level=", setup_relax_domain_level); |