zephyr/kernel/include
Daniel Leung dbc0be487f kernel: use proper macro to declare extern interrupt stacks
The z_interrupt_stacks was declared extern in the kernel internal
header file using the same macro which defines the same stack
array but with an added "extern" in front. This macro adds
alignment and section attribute which are actually not the same
as the actual stack array defined in kernel/init.c. The section
name used in the section attribute contains the file name where
the stack array is defined or extern declared. So the same
symbol, in this case z_interrupt_stacks, has different
attributes in two places, and GCC 11 starts to complain about
this. So use the newly introduced macro to extern declare
the stack array without adding/replacing any symbol attributes.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2021-07-22 07:24:11 -05:00
..
gen_offset.h aarch64: Use absolute symbols for the callee saved registers 2020-11-17 18:59:23 -05:00
kernel_arch_interface.h kernel: mmu: introduce arch_page_phys_get() 2021-05-07 13:36:22 -04:00
kernel_internal.h kernel: use proper macro to declare extern interrupt stacks 2021-07-22 07:24:11 -05:00
kernel_offsets.h kernel: add an architecture specific structs header 2021-04-21 09:03:47 -04:00
kernel_tls.h kernel: tls: align tdata/tbss sections in stack 2021-02-07 23:28:43 -05:00
ksched.h kernel/sched: Remove "cooperative scheduling only" special cases 2021-05-24 23:38:16 -04:00
kswap.h kernel/swap: Add assertion to catch lock-breaking context switches 2021-05-17 15:27:37 -04:00
mmu.h kernel: mmu: z_backing_store* to k_mem_paging_backing_store* 2021-05-28 11:33:22 -04:00
offsets_short.h kernel: add common bits to support TLS 2020-10-24 10:52:00 -07:00