From 514c6d6ab3d5a0ccb5d40a719e8290d53f158157 Mon Sep 17 00:00:00 2001 From: Greg Ungerer Date: Mon, 24 May 2010 11:22:05 +1000 Subject: [PATCH] --- yaml --- r: 198392 b: refs/heads/master c: cc24c405949e3d4418a90014d10166679d78141a h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/m68k/include/asm/processor.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index f1bca6484b56..96031f2cc9e8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 9fcce0baea6628af935b1b485d6606a5a377a052 +refs/heads/master: cc24c405949e3d4418a90014d10166679d78141a diff --git a/trunk/arch/m68k/include/asm/processor.h b/trunk/arch/m68k/include/asm/processor.h index cbd3d4751dd2..7a6a7590cc02 100644 --- a/trunk/arch/m68k/include/asm/processor.h +++ b/trunk/arch/m68k/include/asm/processor.h @@ -44,11 +44,15 @@ static inline void wrusp(unsigned long usp) * User space process size: 3.75GB. This is hardcoded into a few places, * so don't change it unless you know what you are doing. */ +#ifdef CONFIG_MMU #ifndef CONFIG_SUN3 #define TASK_SIZE (0xF0000000UL) #else #define TASK_SIZE (0x0E000000UL) #endif +#else +#define TASK_SIZE (0xFFFFFFFFUL) +#endif #ifdef __KERNEL__ #define STACK_TOP TASK_SIZE