VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Dmitry V. Levin <ldv@altlinux.org> 2019-03-18 02:30:18 +0300 committer: Paul Moore <paul@paul-moore.com> 2019-03-20 21:12:36 -0400 commit: 16add411645cff83360086e102daa67b25f1e39a parent: b15fe94acece954feda32706e3ca7cc024999aee
Commit Summary:
syscall_get_arch: add "struct task_struct *" argument
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/arch/ia64/include/asm/syscall.h b/arch/ia64/include/asm/syscall.h
index 1d0b875fec44..47ab33f5448a 100644
--- a/arch/ia64/include/asm/syscall.h
+++ b/arch/ia64/include/asm/syscall.h
@@ -81,7 +81,7 @@ static inline void syscall_set_arguments(struct task_struct *task,
 	ia64_syscall_get_set_arguments(task, regs, i, n, args, 1);
 }
 
-static inline int syscall_get_arch(void)
+static inline int syscall_get_arch(struct task_struct *task)
 {
 	return AUDIT_ARCH_IA64;
 }