sched: Provide is_percpu_thread() helper
authorThomas Gleixner <tglx@linutronix.de>
Wed, 24 May 2017 08:15:41 +0000 (10:15 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 26 May 2017 08:10:47 +0000 (10:10 +0200)
commit62ec05dd71b19f5be890a1992227cc7b2ac0adc4
tree926661715ed8f2f6affb210d68b5c00cb39e42aa
parentfc8dffd379ca5620664336eb895a426b42847558
sched: Provide is_percpu_thread() helper

Provide a helper function for checking whether current task is a per cpu
thread.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Sebastian Siewior <bigeasy@linutronix.de>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/20170524081549.541649540@linutronix.de
include/linux/sched.h