diff options
-rw-r--r-- | kernel/profile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/profile.c b/kernel/profile.c index fb5e03d57e9d..11550b2290b6 100644 --- a/kernel/profile.c +++ b/kernel/profile.c | |||
@@ -63,7 +63,7 @@ static int __init profile_setup(char * str) | |||
63 | printk(KERN_INFO | 63 | printk(KERN_INFO |
64 | "kernel sleep profiling enabled (shift: %ld)\n", | 64 | "kernel sleep profiling enabled (shift: %ld)\n", |
65 | prof_shift); | 65 | prof_shift); |
66 | } else if (!strncmp(str, sleepstr, strlen(sleepstr))) { | 66 | } else if (!strncmp(str, schedstr, strlen(schedstr))) { |
67 | prof_on = SCHED_PROFILING; | 67 | prof_on = SCHED_PROFILING; |
68 | if (str[strlen(schedstr)] == ',') | 68 | if (str[strlen(schedstr)] == ',') |
69 | str += strlen(schedstr) + 1; | 69 | str += strlen(schedstr) + 1; |