]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitad8c65b9ed2e6b699476a482b39d63cc0e5d0efe
tree6460d4a4c08ff2f8f43f521d19150a9a604c30a7
parent0454ce7295897ffca67fed1a0b8b06235979bafa
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