|
@@ -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);
|
|
|
+}
|