sched/core: Use tsk_cpus_allowed() instead of accessing ->cpus_allowed
authorThomas Gleixner <tglx@linutronix.de>
Wed, 11 May 2016 12:23:30 +0000 (14:23 +0200)
committerIngo Molnar <mingo@kernel.org>
Thu, 12 May 2016 07:55:35 +0000 (09:55 +0200)
commitade42e092b5d1fb9a77b026f019b9953d66f1573
treed903383b8e33ed53b4a824aa4150bda3716bd69a
parent20878232c52329f92423d27a60e48b6a6389e0dd
sched/core: Use tsk_cpus_allowed() instead of accessing ->cpus_allowed

Use the future-safe accessor for struct task_struct's.

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-1-git-send-email-bigeasy@linutronix.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/cpudeadline.c
kernel/sched/cpupri.c
kernel/sched/deadline.c