X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=arch%2Fm68k%2Finclude%2Fasm%2Fprocessor.h;h=7a6a7590cc02cd584d28fd9e2a98d9d1b8b30797;hb=1bf7dbfde8fe7ddaa8e2e1b4e0fc41a9fc6aa7a5;hp=cbd3d4751dd2998bb8732652b2bb66d9bd9a4b1d;hpb=93939f4e5df30e6229a0b5257fdcaf3faf88471c;p=pandora-kernel.git diff --git a/arch/m68k/include/asm/processor.h b/arch/m68k/include/asm/processor.h index cbd3d4751dd2..7a6a7590cc02 100644 --- a/arch/m68k/include/asm/processor.h +++ b/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