ARM: Fix off-by-one interrupt stack allocation (revert missed change in up_initialize.c)

This commit is contained in:
David 2017-03-14 21:01:44 +08:00
parent 86400a252d
commit 33f7bfa351

View file

@ -100,7 +100,7 @@ static void up_calibratedelay(void)
*
****************************************************************************/
#if defined(CONFIG_STACK_COLORATION) && CONFIG_ARCH_INTERRUPTSTACK > 7
#if defined(CONFIG_STACK_COLORATION) && CONFIG_ARCH_INTERRUPTSTACK > 3
static inline void up_color_intstack(void)
{
uint32_t *ptr = (uint32_t *)&g_intstackalloc;