syscall_get_arch: add "struct task_struct *" argument
[linux-block.git] / arch / arc / include / asm / syscall.h
index c7fc4c0c3bcb1bd5a7afb16f23e0213e208b3e37..caf2697ef5b7791596efd3693123f0c2b18aad72 100644 (file)
@@ -70,7 +70,7 @@ syscall_get_arguments(struct task_struct *task, struct pt_regs *regs,
 }
 
 static inline int
-syscall_get_arch(void)
+syscall_get_arch(struct task_struct *task)
 {
        return IS_ENABLED(CONFIG_ISA_ARCOMPACT)
                ? (IS_ENABLED(CONFIG_CPU_BIG_ENDIAN)