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:
commit
148e74fd10
|
@ -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)
|
static inline void up_color_intstack(void)
|
||||||
{
|
{
|
||||||
uint32_t *ptr = (uint32_t *)&g_intstackalloc;
|
uint32_t *ptr = (uint32_t *)&g_intstackalloc;
|
||||||
|
|
Loading…
Reference in New Issue