sched/headers, RCU: Move rcu_copy_process() from <linux/sched/task.h> to kernel/fork.c
authorIngo Molnar <mingo@kernel.org>
Fri, 3 Feb 2017 20:37:49 +0000 (21:37 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Mar 2017 00:43:46 +0000 (01:43 +0100)
commit6bfbaa51ed47774492d83d182a86068cc35aa4c6
tree6460d4a4c08ff2f8f43f521d19150a9a604c30a7
parent901b14bd946a8b7ea211105b6207e082ddd36846
sched/headers, RCU: Move rcu_copy_process() from <linux/sched/task.h> to kernel/fork.c

Move rcu_copy_process() into kernel/fork.c, which is the only
user of this inline function.

This simplifies <linux/sched/task.h> to the level that <linux/sched.h>
does not have to be included in it anymore - which change is done
in a subsequent patch.

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/task.h
kernel/fork.c