summaryrefslogtreecommitdiffstats
path: root/arch/nios2
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2020-05-23 02:02:02 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2020-07-27 20:33:10 +0200
commitbb1a773d5b6bf018bf84fdb3fbba01d3ef54e2c9 (patch)
tree0eefee686c29f4ab32a35c83e4c0f61ae2a8d813 /arch/nios2
parentMerge branch 'work.fdpic' into regset.followup (diff)
downloadlinux-bb1a773d5b6bf018bf84fdb3fbba01d3ef54e2c9.tar.xz
linux-bb1a773d5b6bf018bf84fdb3fbba01d3ef54e2c9.zip
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/nios2')
-rw-r--r--arch/nios2/kernel/process.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/nios2/kernel/process.c b/arch/nios2/kernel/process.c
index 509e7855e8dc..9392d55c7471 100644
--- a/arch/nios2/kernel/process.c
+++ b/arch/nios2/kernel/process.c
@@ -251,11 +251,3 @@ void start_thread(struct pt_regs *regs, unsigned long pc, unsigned long sp)
regs->ea = pc;
regs->sp = sp;
}
-
-#include <linux/elfcore.h>
-
-/* Fill in the FPU structure for a core dump. */
-int dump_fpu(struct pt_regs *regs, elf_fpregset_t *r)
-{
- return 0; /* Nios2 has no FPU and thus no FPU registers */
-}