summaryrefslogtreecommitdiff
path: root/arch/loongarch/kernel/elf.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/loongarch/kernel/elf.c')
-rw-r--r--arch/loongarch/kernel/elf.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/loongarch/kernel/elf.c b/arch/loongarch/kernel/elf.c
index 183e94fc9c69..3d98c6aa00db 100644
--- a/arch/loongarch/kernel/elf.c
+++ b/arch/loongarch/kernel/elf.c
@@ -6,7 +6,6 @@
#include <linux/binfmts.h>
#include <linux/elf.h>
-#include <linux/export.h>
#include <linux/sched.h>
#include <asm/cpu-features.h>
@@ -23,8 +22,3 @@ int arch_check_elf(void *_ehdr, bool has_interpreter, void *_interp_ehdr,
{
return 0;
}
-
-void loongarch_set_personality_fcsr(struct arch_elf_state *state)
-{
- current->thread.fpu.fcsr = boot_cpu_data.fpu_csr0;
-}