sched/core: Reuse put_prev_task()
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 24 May 2017 05:29:53 +0000 (10:59 +0530)
committerIngo Molnar <mingo@kernel.org>
Thu, 10 Aug 2017 10:18:10 +0000 (12:18 +0200)
commit5b713a3d949bd7f8c615a335a8c40297586bc1b1
tree8fc7e42dfa9d72ab6b5483db828d43f164d4c86c
parenta030d7381d8b3adabde724e3077bb6cb32d1b3ee
sched/core: Reuse put_prev_task()

Reuse put_prev_task() instead of copying its implementation.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vincent Guittot <vincent.guittot@linaro.org>
Cc: linaro-kernel@lists.linaro.org
Link: http://lkml.kernel.org/r/e2e50578223d05c5e90a9feb964fe1ec5d09a052.1495603536.git.viresh.kumar@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/core.c