]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
sched/core: Move the get_preempt_disable_ip() inline to sched/core.c
authorIngo Molnar <mingo@kernel.org>
Fri, 3 Feb 2017 22:37:48 +0000 (23:37 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 2 Mar 2017 07:42:23 +0000 (08:42 +0100)
commit59ddbcb2f45b958cf1f11f122b666cbcf50cd57b
tree867e904e401fe9d070f1de7355c15004a26adf7e
parentc930b2c0de32f45ce8f67affe936ce7a05b07b00
sched/core: Move the get_preempt_disable_ip() inline to sched/core.c

It's defined in <linux/sched.h>, but nothing outside the scheduler
uses it - so move it to the sched/core.c usage site.

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