diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2020-06-13 23:37:24 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2021-01-06 08:42:47 -0500 |
commit | 056f280f3b63f68073dd8d332bf2a0132deccd82 (patch) | |
tree | bd53e1f7b09c90504243b61157056edf372ae5ff /arch/mips/kernel/binfmt_elfo32.c | |
parent | fd624c712dfcb6bd6d34018bf879cb4fc6ef84f9 (diff) | |
download | linux-stable-056f280f3b63f68073dd8d332bf2a0132deccd82.tar.gz linux-stable-056f280f3b63f68073dd8d332bf2a0132deccd82.tar.bz2 linux-stable-056f280f3b63f68073dd8d332bf2a0132deccd82.zip |
mips compat: don't bother with ELF_ET_DYN_BASE
normal mips one is just fine - it's only used after we'd done
SET_PERSONALITY2() and by that point TASK_SIZE will yield the
right value
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/mips/kernel/binfmt_elfo32.c')
-rw-r--r-- | arch/mips/kernel/binfmt_elfo32.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/mips/kernel/binfmt_elfo32.c b/arch/mips/kernel/binfmt_elfo32.c index 6ba7501e7079..f5ee6b43b49c 100644 --- a/arch/mips/kernel/binfmt_elfo32.c +++ b/arch/mips/kernel/binfmt_elfo32.c @@ -34,14 +34,6 @@ typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG]; */ #define elf_check_arch elfo32_check_arch -#ifdef CONFIG_KVM_GUEST -#define TASK32_SIZE 0x3fff8000UL -#else -#define TASK32_SIZE 0x7fff8000UL -#endif -#undef ELF_ET_DYN_BASE -#define ELF_ET_DYN_BASE (TASK32_SIZE / 3 * 2) - #include <asm/processor.h> #include <linux/elfcore.h> |