[tip:x86/process] um/arch_prctl: Fix fallout from x86 arch_prctl() rework
Commit-ID: d582799fe5de1c1ca127d7f364db12a660cf46d4 Gitweb: http://git.kernel.org/tip/d582799fe5de1c1ca127d7f364db12a660cf46d4 Author: Kyle HueyAuthorDate: Mon, 20 Mar 2017 16:05:35 -0700 Committer: Thomas Gleixner CommitDate: Tue, 21 Mar 2017 10:08:29 +0100 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 Cc: Andy Lutomirski Cc: kbuild-...@01.org Link: http://lkml.kernel.org/r/20170320230535.11281-1-kh...@kylehuey.com Signed-off-by: Thomas Gleixner --- arch/x86/um/syscalls_64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 /* XXX This should get the constants from libc */ #include -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;
[tip:x86/process] um/arch_prctl: Fix fallout from x86 arch_prctl() rework
Commit-ID: d582799fe5de1c1ca127d7f364db12a660cf46d4 Gitweb: http://git.kernel.org/tip/d582799fe5de1c1ca127d7f364db12a660cf46d4 Author: Kyle Huey AuthorDate: Mon, 20 Mar 2017 16:05:35 -0700 Committer: Thomas Gleixner CommitDate: Tue, 21 Mar 2017 10:08:29 +0100 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 Cc: Andy Lutomirski Cc: kbuild-...@01.org Link: http://lkml.kernel.org/r/20170320230535.11281-1-kh...@kylehuey.com Signed-off-by: Thomas Gleixner --- arch/x86/um/syscalls_64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 /* XXX This should get the constants from libc */ #include -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;