diff options
author | Ingo Molnar <mingo@kernel.org> | 2017-03-23 08:28:19 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-03-23 08:28:19 +0100 |
commit | 1f9ca184049724209cddbddac593d13eb87e48c0 (patch) | |
tree | a96bfd7bad95b717d2cabfd1e00e8803e998c23d /arch/x86/kernel/process_32.c | |
parent | b23adb7d3f7d1d7cce03db9704de67a99ceeda38 (diff) | |
parent | d582799fe5de1c1ca127d7f364db12a660cf46d4 (diff) | |
download | linux-1f9ca184049724209cddbddac593d13eb87e48c0.tar.gz linux-1f9ca184049724209cddbddac593d13eb87e48c0.tar.bz2 linux-1f9ca184049724209cddbddac593d13eb87e48c0.zip |
Merge branch 'x86/process' into x86/mm, to create new base for further patches
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel/process_32.c')
-rw-r--r-- | arch/x86/kernel/process_32.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/kernel/process_32.c b/arch/x86/kernel/process_32.c index 4c818f8bc135..ff40e74c9181 100644 --- a/arch/x86/kernel/process_32.c +++ b/arch/x86/kernel/process_32.c @@ -37,6 +37,7 @@ #include <linux/uaccess.h> #include <linux/io.h> #include <linux/kdebug.h> +#include <linux/syscalls.h> #include <asm/pgtable.h> #include <asm/ldt.h> @@ -56,6 +57,7 @@ #include <asm/switch_to.h> #include <asm/vm86.h> #include <asm/intel_rdt.h> +#include <asm/proto.h> void __show_regs(struct pt_regs *regs, int all) { @@ -304,3 +306,8 @@ __switch_to(struct task_struct *prev_p, struct task_struct *next_p) return prev_p; } + +SYSCALL_DEFINE2(arch_prctl, int, option, unsigned long, arg2) +{ + return do_arch_prctl_common(current, option, arg2); +} |