diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2021-11-10 20:22:03 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-11-10 20:22:03 +0100 |
commit | e8f023caee6b03b796dea65ac379f895be9719ac (patch) | |
tree | 23bb54f88dfcb92c5428f3e8509de35a84461248 /arch/sh | |
parent | Merge tag 'for-linus-5.16b-rc1-tag' of git://git.kernel.org/pub/scm/linux/ker... (diff) | |
parent | arch: remove unused function syscall_set_arguments() (diff) | |
download | linux-e8f023caee6b03b796dea65ac379f895be9719ac.tar.xz linux-e8f023caee6b03b796dea65ac379f895be9719ac.zip |
Merge tag 'asm-generic-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic
Pull asm-generic cleanup from Arnd Bergmann:
"This is a single cleanup from Peter Collingbourne, removing some dead
code"
* tag 'asm-generic-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic:
arch: remove unused function syscall_set_arguments()
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/include/asm/syscall_32.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/sh/include/asm/syscall_32.h b/arch/sh/include/asm/syscall_32.h index cb51a7528384..d87738eebe30 100644 --- a/arch/sh/include/asm/syscall_32.h +++ b/arch/sh/include/asm/syscall_32.h @@ -57,18 +57,6 @@ static inline void syscall_get_arguments(struct task_struct *task, args[0] = regs->regs[4]; } -static inline void syscall_set_arguments(struct task_struct *task, - struct pt_regs *regs, - const unsigned long *args) -{ - regs->regs[1] = args[5]; - regs->regs[0] = args[4]; - regs->regs[7] = args[3]; - regs->regs[6] = args[2]; - regs->regs[5] = args[1]; - regs->regs[4] = args[0]; -} - static inline int syscall_get_arch(struct task_struct *task) { int arch = AUDIT_ARCH_SH; |