diff options
Diffstat (limited to 'arch/riscv/include/asm/processor.h')
| -rw-r--r-- | arch/riscv/include/asm/processor.h | 6 | 
1 files changed, 5 insertions, 1 deletions
| diff --git a/arch/riscv/include/asm/processor.h b/arch/riscv/include/asm/processor.h index 0749924d9e55..21c8072dce17 100644 --- a/arch/riscv/include/asm/processor.h +++ b/arch/riscv/include/asm/processor.h @@ -19,7 +19,11 @@  #define TASK_UNMAPPED_BASE	PAGE_ALIGN(TASK_SIZE / 3)  #define STACK_TOP		TASK_SIZE -#define STACK_TOP_MAX		STACK_TOP +#ifdef CONFIG_64BIT +#define STACK_TOP_MAX		TASK_SIZE_64 +#else +#define STACK_TOP_MAX		TASK_SIZE +#endif  #define STACK_ALIGN		16  #ifndef __ASSEMBLY__ | 
