]> git.baikalelectronics.ru Git - kernel.git/commit
sched/core: Remove the tsk_nr_cpus_allowed() wrapper
authorIngo Molnar <mingo@kernel.org>
Sun, 5 Feb 2017 14:41:03 +0000 (15:41 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 2 Mar 2017 07:42:24 +0000 (08:42 +0100)
commit79b674d85fedb6b21d80858b8f95bd3f310b90e0
treec7045cdf109bc5b114117b70a2b7bdee4adf4b3a
parent10ac43b407e96a90fb5550edfbe931fd4119e9f1
sched/core: Remove the tsk_nr_cpus_allowed() wrapper

tsk_nr_cpus_allowed() too is a pretty pointless wrapper that
is not used consistently and which makes the code both harder
to read and longer as well.

So remove it - this also shrinks <linux/sched.h> a bit.

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
kernel/sched/core.c
kernel/sched/deadline.c
kernel/sched/rt.c