浏览代码

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>
David Howells 17 年之前
父节点
当前提交
0c93d8e4d3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/asm-frv/mem-layout.h

+ 1 - 1
include/asm-frv/mem-layout.h

@@ -60,7 +60,7 @@
  */
  */
 #define BRK_BASE			__UL(2 * 1024 * 1024 + PAGE_SIZE)
 #define BRK_BASE			__UL(2 * 1024 * 1024 + PAGE_SIZE)
 #define STACK_TOP			__UL(2 * 1024 * 1024)
 #define STACK_TOP			__UL(2 * 1024 * 1024)
-#define STACK_TOP_MAX	STACK_TOP
+#define STACK_TOP_MAX			__UL(0xc0000000)
 
 
 /* userspace process size */
 /* userspace process size */
 #ifdef CONFIG_MMU
 #ifdef CONFIG_MMU