summaryrefslogtreecommitdiff
path: root/arch/xtensa/include/asm/elf.h
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2018-11-21 05:46:20 +0300
committerMax Filippov <jcmvbkbc@gmail.com>2018-12-03 12:39:24 +0300
commitc066cc8af9de8f749d29f75ad8c1c37d565f32b7 (patch)
tree0abc040430e50e420d944faabb0b87ab6ce43855 /arch/xtensa/include/asm/elf.h
parent58b17c55b610c11b60f1da71c20cc09cfa4e47db (diff)
downloadlinux-c066cc8af9de8f749d29f75ad8c1c37d565f32b7.tar.xz
xtensa: drop unused declarations from elf.h
do_copy_regs, do_restore_regs, do_save_fpregs and do_restore_fpregs are not used or implemented by xtensa, drop these declarations from the arch/xtensa/include/asm/elf.h Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/include/asm/elf.h')
-rw-r--r--arch/xtensa/include/asm/elf.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/xtensa/include/asm/elf.h b/arch/xtensa/include/asm/elf.h
index eacb25a41718..0cd01b0c00bd 100644
--- a/arch/xtensa/include/asm/elf.h
+++ b/arch/xtensa/include/asm/elf.h
@@ -193,15 +193,4 @@ typedef struct {
#define SET_PERSONALITY(ex) \
set_personality(PER_LINUX_32BIT | (current->personality & (~PER_MASK)))
-struct task_struct;
-
-extern void do_copy_regs (xtensa_gregset_t*, struct pt_regs*,
- struct task_struct*);
-extern void do_restore_regs (xtensa_gregset_t*, struct pt_regs*,
- struct task_struct*);
-extern void do_save_fpregs (elf_fpregset_t*, struct pt_regs*,
- struct task_struct*);
-extern int do_restore_fpregs (elf_fpregset_t*, struct pt_regs*,
- struct task_struct*);
-
#endif /* _XTENSA_ELF_H */