aboutsummaryrefslogtreecommitdiffstats
path: root/arch/openrisc/include/asm/syscall.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/openrisc/include/asm/syscall.h')
-rw-r--r--arch/openrisc/include/asm/syscall.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/openrisc/include/asm/syscall.h b/arch/openrisc/include/asm/syscall.h
index b4ff07c1baed..61de227f53a1 100644
--- a/arch/openrisc/include/asm/syscall.h
+++ b/arch/openrisc/include/asm/syscall.h
@@ -68,7 +68,7 @@ syscall_set_arguments(struct task_struct *task, struct pt_regs *regs,
memcpy(&regs->gpr[3], args, 6 * sizeof(args[0]));
}
-static inline int syscall_get_arch(void)
+static inline int syscall_get_arch(struct task_struct *task)
{
return AUDIT_ARCH_OPENRISC;
}