summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/binfmt_elf32.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-03-17 17:33:56 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 01:16:36 -0800
commitd61e16df940e02e25679bdc1aee8c25786f6de90 (patch)
treede76f4007d526835b8564203341ebf66ca29b12d /arch/sparc64/kernel/binfmt_elf32.c
parenta91690ddd05ab0b7fbdd37733875525ac75c20f2 (diff)
downloadlinux-d61e16df940e02e25679bdc1aee8c25786f6de90.tar.gz
linux-d61e16df940e02e25679bdc1aee8c25786f6de90.tar.bz2
linux-d61e16df940e02e25679bdc1aee8c25786f6de90.zip
[SPARC64]: Increase top of 32-bit process stack.
Put it one page below the top of the 32-bit address space. This gives us ~16MB more address space to work with. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/binfmt_elf32.c')
-rw-r--r--arch/sparc64/kernel/binfmt_elf32.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/binfmt_elf32.c b/arch/sparc64/kernel/binfmt_elf32.c
index a1a12d2aa353..8a2abcce2737 100644
--- a/arch/sparc64/kernel/binfmt_elf32.c
+++ b/arch/sparc64/kernel/binfmt_elf32.c
@@ -153,7 +153,9 @@ MODULE_AUTHOR("Eric Youngdale, David S. Miller, Jakub Jelinek");
#undef MODULE_DESCRIPTION
#undef MODULE_AUTHOR
+#include <asm/a.out.h>
+
#undef TASK_SIZE
-#define TASK_SIZE 0xf0000000
+#define TASK_SIZE STACK_TOP32
#include "../../../fs/binfmt_elf.c"