Skip to content

Commit

Permalink
compat_binfmt_elf: don't bother with undef of ELF_ARCH
Browse files Browse the repository at this point in the history
It's not used anywhere downstream (and never had been, AFAICS).
Theoretically, fs/binfmt_elf.c does use it, but only in the
non-regset coredump handling and all biarch architectures
end up with that ifdefed out.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Al Viro committed Jan 6, 2021
1 parent 41026c3 commit 492ed38
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/compat_binfmt_elf.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
* differ from the native ones, or omitted when they match.
*/

#undef ELF_ARCH
#undef elf_check_arch
#define elf_check_arch compat_elf_check_arch

Expand Down

0 comments on commit 492ed38

Please sign in to comment.