]> err.no Git - linux-2.6/commitdiff
FRV: Move STACK_TOP_MAX up [try #2]
authorDavid Howells <dhowells@redhat.com>
Thu, 10 Apr 2008 15:10:50 +0000 (16:10 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 10 Apr 2008 20:41:28 +0000 (13:41 -0700)
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>
include/asm-frv/mem-layout.h

index 83532252b8be17f401d380ed78a0d5df5bbf7b42..734a1d0583b6fc26f777bef0e06a8572f1a55ea5 100644 (file)
@@ -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