summaryrefslogtreecommitdiffstats
path: root/arch/x86/um
diff options
context:
space:
mode:
authorKyle Huey <me@kylehuey.com>2017-03-20 16:05:35 -0700
committerThomas Gleixner <tglx@linutronix.de>2017-03-21 10:08:29 +0100
commitd582799fe5de1c1ca127d7f364db12a660cf46d4 (patch)
tree6e0cc5cb6e8e1736df3635146f48ed82ae41d237 /arch/x86/um
parente9ea1e7f53b852147cbd568b0568c7ad97ec21a3 (diff)
downloadop-kernel-dev-d582799fe5de1c1ca127d7f364db12a660cf46d4.zip
op-kernel-dev-d582799fe5de1c1ca127d7f364db12a660cf46d4.tar.gz
um/arch_prctl: Fix fallout from x86 arch_prctl() rework
The recent arch_prctl rework added a bracket instead of a comma. Fix it. Fixes: 17a6e1b8e8e8 ("x86/arch_prctl/64: Rename do_arch_prctl() to do_arch_prctl_64()") Signed-off-by: Kyle Huey <khuey@kylehuey.com> Cc: Andy Lutomirski <luto@kernel.org> Cc: kbuild-all@01.org Link: http://lkml.kernel.org/r/20170320230535.11281-1-khuey@kylehuey.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/um')
-rw-r--r--arch/x86/um/syscalls_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/um/syscalls_64.c b/arch/x86/um/syscalls_64.c
index 81b9fe1..58f5166 100644
--- a/arch/x86/um/syscalls_64.c
+++ b/arch/x86/um/syscalls_64.c
@@ -12,7 +12,7 @@
#include <asm/prctl.h> /* XXX This should get the constants from libc */
#include <os.h>
-long arch_prctl(struct task_struct *task, int option)
+long arch_prctl(struct task_struct *task, int option,
unsigned long __user *arg2)
{
unsigned long *ptr = arg2, tmp;
OpenPOWER on IntegriCloud