sched/fair: Introduce set_curr_task() helper
authorPeter Zijlstra <peterz@infradead.org>
Tue, 20 Sep 2016 20:00:38 +0000 (22:00 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 30 Sep 2016 09:03:28 +0000 (11:03 +0200)
commitb2bf6c314e3a9e227925240d92ecd6e9b0110170
tree4f412f1a68fb373542aea0fc62ba7de4577ad8b2
parenta458ae2ea616420f74480f0f5ed67ca0f3b5dbf7
sched/fair: Introduce set_curr_task() helper

Now that the ia64 only set_curr_task() symbol is gone, provide a
helper just like put_prev_task().

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/core.c
kernel/sched/sched.h