Skip to content
Commit 65bcf072 authored by Hui Su's avatar Hui Su Committed by Peter Zijlstra
Browse files

sched: Use task_current() instead of 'rq->curr == p'



Use the task_current() function where appropriate.

No functional change.

Signed-off-by: default avatarHui Su <sh_def@163.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
Link: https://lkml.kernel.org/r/20201030173223.GA52339@rlk
parent e9b9734b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment