Skip to content

Commit a2705b7

Browse files
nashifcfriedt
authored andcommitted
arch: x86: declare z_interrupt_stacks
Declare z_interrupt_stacks as extern. Signed-off-by: Anas Nashif <[email protected]>
1 parent 25938ec commit a2705b7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

arch/x86/core/prep_c.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
#include <zephyr/cache.h>
1515
#include <zephyr/arch/common/init.h>
1616

17+
K_KERNEL_PINNED_STACK_ARRAY_DECLARE(z_interrupt_stacks,
18+
CONFIG_MP_MAX_NUM_CPUS,
19+
CONFIG_ISR_STACK_SIZE);
1720

1821
extern void x86_64_irq_init(void);
1922

0 commit comments

Comments
 (0)