lkml.org 
[lkml]   [2020]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 08/10] mips: don't bother with ELF_CORE_EFLAGS
Date
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
\
 
 \ /
  Last update: 2020-12-03 22:49    [W:0.151 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site