Skip to content

Commit

Permalink
um/arch_prctl: Fix fallout from x86 arch_prctl() rework
Browse files Browse the repository at this point in the history
The recent arch_prctl rework added a bracket instead of a comma. Fix it.

Fixes: 17a6e1b ("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>
  • Loading branch information
Kyle Huey authored and Thomas Gleixner committed Mar 21, 2017
1 parent e9ea1e7 commit d582799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/um/syscalls_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d582799

Please sign in to comment.