summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2008-04-10 16:10:50 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-10 13:41:28 -0700
commit0c93d8e4d342b1b5cda1037f2527fcf443c80fbc (patch)
tree910ab6c14e23b16add829df8a81ece5e0363af94
parenta31b9dd8edc6e4e75b5299fee6093b3c54548446 (diff)
downloadop-kernel-dev-0c93d8e4d342b1b5cda1037f2527fcf443c80fbc.zip
op-kernel-dev-0c93d8e4d342b1b5cda1037f2527fcf443c80fbc.tar.gz
FRV: Move STACK_TOP_MAX up [try #2]
Move STACK_TOP_MAX up so that we don't try moving the stack above it as that causes setup_arg_pages() to malfunction. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--include/asm-frv/mem-layout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-frv/mem-layout.h b/include/asm-frv/mem-layout.h
index 8353225..734a1d0 100644
--- a/include/asm-frv/mem-layout.h
+++ b/include/asm-frv/mem-layout.h
@@ -60,7 +60,7 @@
*/
#define BRK_BASE __UL(2 * 1024 * 1024 + PAGE_SIZE)
#define STACK_TOP __UL(2 * 1024 * 1024)
-#define STACK_TOP_MAX STACK_TOP
+#define STACK_TOP_MAX __UL(0xc0000000)
/* userspace process size */
#ifdef CONFIG_MMU
OpenPOWER on IntegriCloud