mirror of
https://github.com/torvalds/linux.git
synced 2026-03-13 22:36:17 +01:00
syscall.h: Remove unused SYSCALL_MAX_ARGS
The "SYSCALL_MAX_ARGS" appears to have been unused since commit32d9258662("syscalls: Remove start and number from syscall_set_arguments() args"), so remove it. Fixes:32d9258662("syscalls: Remove start and number from syscall_set_arguments() args") Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com> Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Signed-off-by: Will Deacon <will@kernel.org>
This commit is contained in:
parent
8f0b4cce44
commit
35c3dcb1ac
3 changed files with 0 additions and 5 deletions
|
|
@ -92,8 +92,6 @@ static inline void syscall_set_nr(struct task_struct *task,
|
|||
(nr & __NR_SYSCALL_MASK);
|
||||
}
|
||||
|
||||
#define SYSCALL_MAX_ARGS 7
|
||||
|
||||
static inline void syscall_get_arguments(struct task_struct *task,
|
||||
struct pt_regs *regs,
|
||||
unsigned long *args)
|
||||
|
|
|
|||
|
|
@ -77,8 +77,6 @@ static inline void syscall_set_nr(struct task_struct *task,
|
|||
}
|
||||
}
|
||||
|
||||
#define SYSCALL_MAX_ARGS 6
|
||||
|
||||
static inline void syscall_get_arguments(struct task_struct *task,
|
||||
struct pt_regs *regs,
|
||||
unsigned long *args)
|
||||
|
|
|
|||
|
|
@ -61,7 +61,6 @@ static inline void syscall_set_return_value(struct task_struct *task,
|
|||
regs->areg[2] = (long) error ? error : val;
|
||||
}
|
||||
|
||||
#define SYSCALL_MAX_ARGS 6
|
||||
#define XTENSA_SYSCALL_ARGUMENT_REGS {6, 3, 4, 5, 8, 9}
|
||||
|
||||
static inline void syscall_get_arguments(struct task_struct *task,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue