From: David Howells Date: Thu, 10 Apr 2008 15:10:50 +0000 (+0100) Subject: FRV: Move STACK_TOP_MAX up [try #2] X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0c93d8e4d342b1b5cda1037f2527fcf443c80fbc;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 Signed-off-by: Linus Torvalds --- diff --git a/include/asm-frv/mem-layout.h b/include/asm-frv/mem-layout.h index 83532252b8be..734a1d0583b6 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