diff options
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 0166daa4a374..5969c8b25689 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -905,7 +905,7 @@ static __read_mostly int scheduler_running; | |||
905 | * | 905 | * |
906 | * Litmus RT: with the Preempt-RT patch we rely on rt-threads | 906 | * Litmus RT: with the Preempt-RT patch we rely on rt-threads |
907 | * to set timers. If the RT throttling gets activated we experience | 907 | * to set timers. If the RT throttling gets activated we experience |
908 | * very long latencies. Change from 950000 to -1 -> RUNTIME_INF | 908 | * very long latencies. Change from 950000 to -1 -> RUNTIME_INF |
909 | */ | 909 | */ |
910 | int sysctl_sched_rt_runtime = -1; | 910 | int sysctl_sched_rt_runtime = -1; |
911 | 911 | ||
@@ -6805,7 +6805,7 @@ recheck: | |||
6805 | p->sched_reset_on_fork = reset_on_fork; | 6805 | p->sched_reset_on_fork = reset_on_fork; |
6806 | 6806 | ||
6807 | if (p->policy == SCHED_LITMUS) | 6807 | if (p->policy == SCHED_LITMUS) |
6808 | litmus_exit_task(p); | 6808 | litmus_exit_task(p, 0); |
6809 | 6809 | ||
6810 | oldprio = p->prio; | 6810 | oldprio = p->prio; |
6811 | prev_class = p->sched_class; | 6811 | prev_class = p->sched_class; |