aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-06-23 05:30:23 -0400
committerIngo Molnar <mingo@elte.hu>2008-06-23 05:30:23 -0400
commit1de8644cc7c826e0c41e52825bd5a12e2e31e6ca (patch)
treedf1e884080599facaf70d2675c480e999da953e1 /kernel/sched.c
parent6c3df25511c2c51f2dd36cc52a8d22363d731793 (diff)
parent481c5346d0981940ee63037eb53e4e37b0735c10 (diff)
Merge branch 'linus' into sched/devel
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c7
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
6920static int __init setup_relax_domain_level(char *str) 6920static 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);