Merged in dcabecinhas/nuttx/fix_intstack_allocation (pull request #270)

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

Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
David Cabecinhas 2017-03-18 12:25:18 +00:00 committed by Gregory Nutt
commit 148e74fd10
1 changed files with 1 additions and 1 deletions

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;