提交 23e3c3cd 编写于 作者: R Roel Kluin 提交者: Ingo Molnar

sched: remove double unlikely from schedule()

Combine two unlikely's
Signed-off-by: NRoel Kluin <12o3l@tiscali.nl>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 2070ee01
......@@ -3882,7 +3882,7 @@ asmlinkage void __sched schedule(void)
if (prev->state && !(preempt_count() & PREEMPT_ACTIVE)) {
if (unlikely((prev->state & TASK_INTERRUPTIBLE) &&
unlikely(signal_pending(prev)))) {
signal_pending(prev))) {
prev->state = TASK_RUNNING;
} else {
deactivate_task(rq, prev, 1);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册