Skip to content

Commit 360f810

Browse files
stephanosiocarlescufi
authored andcommitted
kernel: Migrate to K_KERNEL_PINNED_STACK_ARRAY_DECLARE
This commit updates all deprecated `K_KERNEL_PINNED_STACK_ARRAY_EXTERN` macro usages to use the `K_KERNEL_PINNED_STACK_ARRAY_DECLARE` macro instead. Signed-off-by: Stephanos Ioannidis <[email protected]>
1 parent 0ff1e05 commit 360f810

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kernel/include/kernel_internal.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ extern struct k_thread z_main_thread;
156156
#ifdef CONFIG_MULTITHREADING
157157
extern struct k_thread z_idle_threads[CONFIG_MP_NUM_CPUS];
158158
#endif
159-
K_KERNEL_PINNED_STACK_ARRAY_EXTERN(z_interrupt_stacks, CONFIG_MP_NUM_CPUS,
160-
CONFIG_ISR_STACK_SIZE);
159+
K_KERNEL_PINNED_STACK_ARRAY_DECLARE(z_interrupt_stacks, CONFIG_MP_NUM_CPUS,
160+
CONFIG_ISR_STACK_SIZE);
161161

162162
#ifdef CONFIG_GEN_PRIV_STACKS
163163
extern uint8_t *z_priv_stack_find(k_thread_stack_t *stack);

0 commit comments

Comments
 (0)