mirror of
https://github.com/apache/nuttx.git
synced 2026-09-20 04:47:58 +08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user