summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/fpu.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2020-05-22 20:02:02 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2020-07-27 14:33:10 -0400
commitbb1a773d5b6bf018bf84fdb3fbba01d3ef54e2c9 (patch)
tree0eefee686c29f4ab32a35c83e4c0f61ae2a8d813 /arch/sh/include/asm/fpu.h
parent5d2c56ec0e5f68ef907a85ebd8028a5ce1114351 (diff)
downloadlinux-bb1a773d5b6bf018bf84fdb3fbba01d3ef54e2c9.tar.bz2
kill unused dump_fpu() instances
dump_fpu() is used only on the architectures that support elf and have neither CORE_DUMP_USE_REGSET nor ELF_CORE_COPY_FPREGS defined. Currently that's csky, m68k, microblaze, nds32 and unicore32. The rest of the instances are dead code. NB: THIS MUST GO AFTER ELF_FDPIC CONVERSION Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/sh/include/asm/fpu.h')
-rw-r--r--arch/sh/include/asm/fpu.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/sh/include/asm/fpu.h b/arch/sh/include/asm/fpu.h
index 43cfaf929aa7..04584be8986c 100644
--- a/arch/sh/include/asm/fpu.h
+++ b/arch/sh/include/asm/fpu.h
@@ -37,11 +37,6 @@ struct user_regset;
extern int do_fpu_inst(unsigned short, struct pt_regs *);
extern int init_fpu(struct task_struct *);
-extern int fpregs_get(struct task_struct *target,
- const struct user_regset *regset,
- unsigned int pos, unsigned int count,
- void *kbuf, void __user *ubuf);
-
static inline void __unlazy_fpu(struct task_struct *tsk, struct pt_regs *regs)
{
if (task_thread_info(tsk)->status & TS_USEDFPU) {