summaryrefslogtreecommitdiff
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 2db9f1cf0694..46b10c674bd2 100644
--- a/arch/openrisc/include/asm/syscall.h
+++ b/arch/openrisc/include/asm/syscall.h
@@ -72,7 +72,7 @@ syscall_set_arguments(struct task_struct *task, struct pt_regs *regs,
memcpy(&regs->gpr[3 + i], args, n * sizeof(args[0]));
}
-static inline int syscall_get_arch(void)
+static inline int syscall_get_arch(struct task_struct *task)
{
return AUDIT_ARCH_OPENRISC;
}