aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/binfmt_elfo32.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-01-25 21:22:22 -0500
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 14:30:19 -0400
commitc6237645d1e9e687031048f5ffd343133fddb55c (patch)
tree5e66c8084d068b432a0747c45ed3d60d6b3e922b /arch/mips/kernel/binfmt_elfo32.c
parentb053c98fbbe9942669af2f1a351eaeae1b344d38 (diff)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Fix TASK_SIZE for 32-bit processes on 64-bit kernels.
Diffstat (limited to 'arch/mips/kernel/binfmt_elfo32.c')
-rw-r--r--arch/mips/kernel/binfmt_elfo32.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/mips/kernel/binfmt_elfo32.c b/arch/mips/kernel/binfmt_elfo32.c
index 3ef8c852e830..cec5f327e360 100644
--- a/arch/mips/kernel/binfmt_elfo32.c
+++ b/arch/mips/kernel/binfmt_elfo32.c
@@ -54,7 +54,6 @@ typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
54 54
55#include <asm/processor.h> 55#include <asm/processor.h>
56#include <linux/module.h> 56#include <linux/module.h>
57#include <linux/config.h>
58#include <linux/elfcore.h> 57#include <linux/elfcore.h>
59#include <linux/compat.h> 58#include <linux/compat.h>
60 59
@@ -141,4 +140,7 @@ MODULE_AUTHOR("Ralf Baechle (ralf@linux-mips.org)");
141#undef MODULE_DESCRIPTION 140#undef MODULE_DESCRIPTION
142#undef MODULE_AUTHOR 141#undef MODULE_AUTHOR
143 142
143#undef TASK_SIZE
144#define TASK_SIZE TASK_SIZE32
145
144#include "../../../fs/binfmt_elf.c" 146#include "../../../fs/binfmt_elf.c"