x86: use _do_fork() in compat_sys_x86_clone()
authorDominik Brodowski <linux@dominikbrodowski.net>
Sun, 18 Mar 2018 07:11:26 +0000 (08:11 +0100)
committerDominik Brodowski <linux@dominikbrodowski.net>
Mon, 2 Apr 2018 18:15:03 +0000 (20:15 +0200)
commit37db219ef9ccff280c83f10e5d7c1e5a1b6abc1b
tree2f043a63eb7025c29cb7319184de53214d53ee74
parent2de0db992de189fccc83fed57c30875144821491
x86: use _do_fork() in compat_sys_x86_clone()

It is trivial to directly call _do_fork() instead of the sys_clone()
syscall in compat_sys_x86_clone().

This patch is part of a series which removes in-kernel calls to syscalls.
On this basis, the syscall entry path can be streamlined. For details, see
http://lkml.kernel.org/r/20180325162527.GA17492@light.dominikbrodowski.net

Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Slaby <jslaby@suse.com>
Cc: x86@kernel.org
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
arch/x86/ia32/sys_ia32.c