Skip to content

Commit

Permalink
FRV: Move STACK_TOP_MAX up [try #2]
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Howells authored and Linus Torvalds committed Apr 10, 2008
1 parent a31b9dd commit 0c93d8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-frv/mem-layout.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0c93d8e

Please sign in to comment.