summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2021-11-10 20:22:03 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2021-11-10 20:22:03 +0100
commite8f023caee6b03b796dea65ac379f895be9719ac (patch)
tree23bb54f88dfcb92c5428f3e8509de35a84461248 /arch/xtensa/include
parentMerge tag 'for-linus-5.16b-rc1-tag' of git://git.kernel.org/pub/scm/linux/ker... (diff)
parentarch: remove unused function syscall_set_arguments() (diff)
downloadlinux-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/xtensa/include')
-rw-r--r--arch/xtensa/include/asm/syscall.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/xtensa/include/asm/syscall.h b/arch/xtensa/include/asm/syscall.h
index f9a671cbf933..5ee974bf8330 100644
--- a/arch/xtensa/include/asm/syscall.h
+++ b/arch/xtensa/include/asm/syscall.h
@@ -68,17 +68,6 @@ static inline void syscall_get_arguments(struct task_struct *task,
args[i] = regs->areg[reg[i]];
}
-static inline void syscall_set_arguments(struct task_struct *task,
- struct pt_regs *regs,
- const unsigned long *args)
-{
- static const unsigned int reg[] = XTENSA_SYSCALL_ARGUMENT_REGS;
- unsigned int i;
-
- for (i = 0; i < 6; ++i)
- regs->areg[reg[i]] = args[i];
-}
-
asmlinkage long xtensa_rt_sigreturn(void);
asmlinkage long xtensa_shmat(int, char __user *, int);
asmlinkage long xtensa_fadvise64_64(int, int,