fork: remove do_fork()
authorChristian Brauner <christian.brauner@ubuntu.com>
Sun, 24 May 2020 18:57:00 +0000 (20:57 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Sat, 4 Jul 2020 21:41:36 +0000 (23:41 +0200)
commitff2a91127b374c75ae024b31d22f23ad49d16eb4
treeacbfb572c753ea46eb8c6ec80ce661ec529e4a4b
parentadc7092e4c1a1d23fbfcf9b5905ec475c0084794
fork: remove do_fork()

Now that all architectures have been switched to use _do_fork() and the new
struct kernel_clone_args calling convention we can remove the legacy
do_fork() helper completely. The calling convention used to be brittle and
do_fork() didn't buy us anything. The only calling convention accepted
should be based on struct kernel_clone_args going forward. It's cleaner and
uniform.

Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Cc: "Peter Zijlstra (Intel)" <peterz@infradead.org>
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
include/linux/sched/task.h
kernel/fork.c