syscall_get_arch: add "struct task_struct *" argument
[linux-block.git] / arch / riscv / include / asm / syscall.h
index bba3da6ef1572f41db64e59ca203ae32b9139180..ca120a36a037a2b99fa200dd23ad9e58699bb1e5 100644 (file)
@@ -100,7 +100,7 @@ static inline void syscall_set_arguments(struct task_struct *task,
        memcpy(&regs->a1 + i * sizeof(regs->a1), args, n * sizeof(regs->a0));
 }
 
-static inline int syscall_get_arch(void)
+static inline int syscall_get_arch(struct task_struct *task)
 {
 #ifdef CONFIG_64BIT
        return AUDIT_ARCH_RISCV64;