hc
2024-02-19 1c055e55a242a33e574e48be530e06770a210dcd
kernel/arch/ia64/include/asm/syscall.h
....@@ -1,11 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Access to user system call parameters and results
34 *
45 * Copyright (C) 2008 Intel Corp. Shaohua Li <shaohua.li@intel.com>
5
- *
6
- * This copyrighted material is made available to anyone wishing to use,
7
- * modify, copy, or redistribute it subject to the terms and conditions
8
- * of the GNU General Public License v.2.
96 *
107 * See asm-generic/syscall.h for descriptions of what we must do here.
118 */
....@@ -59,29 +56,22 @@
5956 }
6057
6158 extern void ia64_syscall_get_set_arguments(struct task_struct *task,
62
- struct pt_regs *regs, unsigned int i, unsigned int n,
63
- unsigned long *args, int rw);
59
+ struct pt_regs *regs, unsigned long *args, int rw);
6460 static inline void syscall_get_arguments(struct task_struct *task,
6561 struct pt_regs *regs,
66
- unsigned int i, unsigned int n,
6762 unsigned long *args)
6863 {
69
- BUG_ON(i + n > 6);
70
-
71
- ia64_syscall_get_set_arguments(task, regs, i, n, args, 0);
64
+ ia64_syscall_get_set_arguments(task, regs, args, 0);
7265 }
7366
7467 static inline void syscall_set_arguments(struct task_struct *task,
7568 struct pt_regs *regs,
76
- unsigned int i, unsigned int n,
7769 unsigned long *args)
7870 {
79
- BUG_ON(i + n > 6);
80
-
81
- ia64_syscall_get_set_arguments(task, regs, i, n, args, 1);
71
+ ia64_syscall_get_set_arguments(task, regs, args, 1);
8272 }
8373
84
-static inline int syscall_get_arch(void)
74
+static inline int syscall_get_arch(struct task_struct *task)
8575 {
8676 return AUDIT_ARCH_IA64;
8777 }