sched/headers: Move idle polling methods to <linux/sched/idle.h>
authorIngo Molnar <mingo@kernel.org>
Wed, 1 Feb 2017 17:47:28 +0000 (18:47 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 2 Mar 2017 07:42:41 +0000 (08:42 +0100)
commit5dbe91de599423d243738a205367506444ebb4a4
tree257bff7520fdce1dbc15eee0724d61a467c42cd1
parent4437722b0486c36dc90a1adf584fca4cea6cf1de
sched/headers: Move idle polling methods to <linux/sched/idle.h>

Further reduce the size of <linux/sched.h> by moving these APIs:

tsk_is_polling()
__current_set_polling()
current_set_polling_and_test()
__current_clr_polling()
current_clr_polling_and_test()
current_clr_polling()

Acked-by: 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>
include/linux/sched.h
include/linux/sched/idle.h