zephyr/kernel
Daniel Leung 7bb7454a00 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-08-30 09:17:47 -04:00
..
include kernel: use proper macro to declare extern interrupt stacks 2021-08-30 09:17:47 -04:00
paging kernel: mmu: z_backing_store* to k_mem_paging_backing_store* 2021-05-28 11:33:22 -04:00
atomic_c.c
banner.c
cache_handlers.c cache: Rename sys_{dcache,icache}_* to sys_{data,instr}_cache_* 2021-05-08 07:00:33 +02:00
CMakeLists.txt cache: Introduce external cache controller system support 2021-05-08 07:00:33 +02:00
compiler_stack_protect.c
condvar.c Tracing: Conditional variable tracing 2021-05-07 22:10:21 -04:00
device.c pm: device_runtime: get rid of the spinlock 2021-05-26 10:56:55 -04:00
errno.c
fatal.c
futex.c
idle.c kernel/sched: Remove "cooperative scheduling only" special cases 2021-05-24 23:38:16 -04:00
init.c kernel/sched: Remove "cooperative scheduling only" special cases 2021-05-24 23:38:16 -04:00
Kconfig kernel: make MULTITHREADING promptless if single-thread not supported 2021-05-26 11:03:22 -05:00
kheap.c Tracing: Memory Heap tracing 2021-05-07 22:10:21 -04:00
mailbox.c kernel: remove object tracing 2021-05-07 22:10:21 -04:00
mem_domain.c
mem_slab.c kernel: remove object tracing 2021-05-07 22:10:21 -04:00
mempool.c Tracing: Memory Heap tracing 2021-05-07 22:10:21 -04:00
mmu.c kernel: mmu: z_backing_store* to k_mem_paging_backing_store* 2021-05-28 11:33:22 -04:00
msg_q.c kernel: remove object tracing 2021-05-07 22:10:21 -04:00
mutex.c Tracing: Incorrect Unlock Mutex Trace Hook Fix 2021-06-03 07:10:05 -05:00
pipes.c kernel: remove object tracing 2021-05-07 22:10:21 -04:00
poll.c Tracing: Poll API and Work Poll tracing 2021-05-07 22:10:21 -04:00
queue.c kernel: remove object tracing 2021-05-07 22:10:21 -04:00
sched.c kernel: k_sleep: fix return value for absolute timeout 2021-05-26 18:11:52 -05:00
sem.c kernel: remove object tracing 2021-05-07 22:10:21 -04:00
smp.c
stack.c kernel: remove object tracing 2021-05-07 22:10:21 -04:00
system_work_q.c
thread.c kernel: stack_sentinel: disable in single-threaded builds 2021-05-28 10:41:46 -05:00
timeout.c kernel: timeout: Fix adding of an absolute timeout 2021-05-24 23:53:18 -04:00
timer.c kernel: remove object tracing 2021-05-07 22:10:21 -04:00
userspace_handler.c
userspace.c userspace: remove dead code 2021-05-24 22:35:03 -04:00
version.c
work.c kernel: work: fix race condition with cancel before work runs 2021-05-18 15:02:08 +02:00
xip.c