diff options
Diffstat (limited to 'litmus/preempt.c')
-rw-r--r-- | litmus/preempt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/litmus/preempt.c b/litmus/preempt.c index 5704d0bf4c0b..92c5d1b26a13 100644 --- a/litmus/preempt.c +++ b/litmus/preempt.c | |||
@@ -26,10 +26,10 @@ void sched_state_will_schedule(struct task_struct* tsk) | |||
26 | set_sched_state(PICKED_WRONG_TASK); | 26 | set_sched_state(PICKED_WRONG_TASK); |
27 | else | 27 | else |
28 | set_sched_state(WILL_SCHEDULE); | 28 | set_sched_state(WILL_SCHEDULE); |
29 | } else | 29 | } /* else */ |
30 | /* Litmus tasks should never be subject to a remote | 30 | /* /\* Litmus tasks should never be subject to a remote */ |
31 | * set_tsk_need_resched(). */ | 31 | /* * set_tsk_need_resched(). *\/ */ |
32 | BUG_ON(is_realtime(tsk)); | 32 | /* BUG_ON(is_realtime(tsk)); */ |
33 | #ifdef CONFIG_PREEMPT_STATE_TRACE | 33 | #ifdef CONFIG_PREEMPT_STATE_TRACE |
34 | TRACE_TASK(tsk, "set_tsk_need_resched() ret:%p\n", | 34 | TRACE_TASK(tsk, "set_tsk_need_resched() ret:%p\n", |
35 | __builtin_return_address(0)); | 35 | __builtin_return_address(0)); |