From 87efdcdeee000c948941544807a31df26aa9fb5d Mon Sep 17 00:00:00 2001 From: forsyth Date: Wed, 25 Jul 2012 15:13:50 +0100 Subject: 20120725-1513 --- Linux/arm/include/emu.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Linux') diff --git a/Linux/arm/include/emu.h b/Linux/arm/include/emu.h index 686dc1b7..7f2b101e 100644 --- a/Linux/arm/include/emu.h +++ b/Linux/arm/include/emu.h @@ -13,9 +13,9 @@ struct FPU uchar env[28]; }; -#define KSTACK (16 * 1024) #ifndef USE_PTHREADS +#define KSTACK (16 * 1024) /* must be power of two */ static __inline Proc *getup(void) { Proc *p; __asm__( "mov %0, %%sp;" @@ -24,6 +24,7 @@ static __inline Proc *getup(void) { return *(Proc **)((uintptr)p & ~(KSTACK - 1)); } #else +#define KSTACK (32 * 1024) /* need not be power of two */ extern Proc* getup(void); #endif -- cgit v1.2.3