From 5a5bfea5881ebf39d21152ccf690b70226c9e4b3 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 4 Jun 2008 14:55:01 +0000 Subject: 2008-06-04 Joel Sherrill * rtems/score/cpu.h: Use a constant for CPU_STACK_MINIMUM_SIZE so it can be used in cpp expressions. Using sizeof() requires actually compiling the file. --- cpukit/score/cpu/mips/rtems/score/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/score/cpu/mips/rtems/score/cpu.h') diff --git a/cpukit/score/cpu/mips/rtems/score/cpu.h b/cpukit/score/cpu/mips/rtems/score/cpu.h index 8c9a24fdc0..863866fc3d 100644 --- a/cpukit/score/cpu/mips/rtems/score/cpu.h +++ b/cpukit/score/cpu/mips/rtems/score/cpu.h @@ -673,7 +673,7 @@ extern unsigned int mips_interrupt_number_of_vectors; * that a "reasonable" small application should not have any problems. */ -#define CPU_STACK_MINIMUM_SIZE (2048*sizeof(uint32_t)) +#define CPU_STACK_MINIMUM_SIZE (8 * 1024) /* -- cgit v1.2.3