[PATCH 08/10] mips: don't bother with ELF_CORE_EFLAGS

Al Viro
2020-12-03T21:47:41Z

From: Al Viro <viro@zeniv.linux.org.uk>

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@zeniv.linux.org.uk>
---
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