diff --git a/cpukit/score/cpu/mips/ChangeLog b/cpukit/score/cpu/mips/ChangeLog index cbacb142da..da56fd86ea 100644 --- a/cpukit/score/cpu/mips/ChangeLog +++ b/cpukit/score/cpu/mips/ChangeLog @@ -1,3 +1,9 @@ +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. + 2007-12-17 Joel Sherrill * rtems/score/cpu.h: Add _CPU_Context_Get_SP() for stack check utility. 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) /*