[PATCH 08/10] mips: don't bother with ELF_CORE_EFLAGS
From: Al Viro
Date: Thu Dec 03 2020 - 16:48:22 EST
From: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
mips coredumps are regset-based, so ELF_CORE_EFLAGS is not used at all -
user_..._view.e_flags is.
Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
---
arch/mips/kernel/binfmt_elfn32.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/mips/kernel/binfmt_elfn32.c b/arch/mips/kernel/binfmt_elfn32.c
index 10fa9ccd92b7..1aa32570fa9b 100644
--- a/arch/mips/kernel/binfmt_elfn32.c
+++ b/arch/mips/kernel/binfmt_elfn32.c
@@ -52,8 +52,6 @@ struct elf_prstatus32
#define init_elf_binfmt init_elfn32_binfmt
-#define ELF_CORE_EFLAGS EF_MIPS_ABI2
-
#undef ns_to_kernel_old_timeval
#define ns_to_kernel_old_timeval ns_to_old_timeval32
--
2.11.0