diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-01-25 21:22:22 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:30:19 -0400 |
commit | c6237645d1e9e687031048f5ffd343133fddb55c (patch) | |
tree | 5e66c8084d068b432a0747c45ed3d60d6b3e922b /arch/mips/kernel/binfmt_elfn32.c | |
parent | b053c98fbbe9942669af2f1a351eaeae1b344d38 (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_elfn32.c')
-rw-r--r-- | arch/mips/kernel/binfmt_elfn32.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/mips/kernel/binfmt_elfn32.c b/arch/mips/kernel/binfmt_elfn32.c index 6b645fbb1ddc..d8e2674a1543 100644 --- a/arch/mips/kernel/binfmt_elfn32.c +++ b/arch/mips/kernel/binfmt_elfn32.c | |||
@@ -52,7 +52,6 @@ typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG]; | |||
52 | 52 | ||
53 | #include <asm/processor.h> | 53 | #include <asm/processor.h> |
54 | #include <linux/module.h> | 54 | #include <linux/module.h> |
55 | #include <linux/config.h> | ||
56 | #include <linux/elfcore.h> | 55 | #include <linux/elfcore.h> |
57 | #include <linux/compat.h> | 56 | #include <linux/compat.h> |
58 | 57 | ||
@@ -116,4 +115,7 @@ MODULE_AUTHOR("Ralf Baechle (ralf@linux-mips.org)"); | |||
116 | #undef MODULE_DESCRIPTION | 115 | #undef MODULE_DESCRIPTION |
117 | #undef MODULE_AUTHOR | 116 | #undef MODULE_AUTHOR |
118 | 117 | ||
118 | #undef TASK_SIZE | ||
119 | #define TASK_SIZE TASK_SIZE32 | ||
120 | |||
119 | #include "../../../fs/binfmt_elf.c" | 121 | #include "../../../fs/binfmt_elf.c" |