sched/core: Provide a tsk_nr_cpus_allowed() helper
authorThomas Gleixner <tglx@linutronix.de>
Wed, 11 May 2016 12:23:31 +0000 (14:23 +0200)
committerIngo Molnar <mingo@kernel.org>
Thu, 12 May 2016 07:55:36 +0000 (09:55 +0200)
commit50605ffbdaf6d7ccab70d4631fd8347fc78af14f
tree4da2d3c09f4af5712d72471b5bb93174dcf857cc
parentade42e092b5d1fb9a77b026f019b9953d66f1573
sched/core: Provide a tsk_nr_cpus_allowed() helper

tsk_nr_cpus_allowed() is an accessor for task->nr_cpus_allowed which allows
us to change the representation of ->nr_cpus_allowed if required.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
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: linux-kernel@vger.kernel.org
Link: http://lkml.kernel.org/r/1462969411-17735-2-git-send-email-bigeasy@linutronix.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/sched.h
kernel/sched/core.c
kernel/sched/deadline.c
kernel/sched/rt.c