Merge tag 'mips_5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux
[sfrench/cifs-2.6.git] / arch / nios2 / include / asm / syscall.h
index d7624ed06efb6c9ea2e616c23cd20b030a53b1c8..c4f3f8b86f284cbe1eb56f892b523fefc4dc7744 100644 (file)
@@ -17,6 +17,7 @@
 #ifndef __ASM_NIOS2_SYSCALL_H__
 #define __ASM_NIOS2_SYSCALL_H__
 
+#include <uapi/linux/audit.h>
 #include <linux/err.h>
 #include <linux/sched.h>
 
@@ -79,4 +80,9 @@ static inline void syscall_set_arguments(struct task_struct *task,
        regs->r9 = *args;
 }
 
+static inline int syscall_get_arch(struct task_struct *task)
+{
+       return AUDIT_ARCH_NIOS2;
+}
+
 #endif