zephyr/kernel
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
..
include kernel: use proper macro to declare extern interrupt stacks 2021-07-22 07:24:11 -05:00
paging kernel: mmu: z_backing_store* to k_mem_paging_backing_store* 2021-05-28 11:33:22 -04:00
atomic_c.c kernel: atomic: consistently use named type for atomic pointer values 2021-04-19 15:22:13 +02:00
banner.c kernel: init: move banner handling 2020-11-27 20:08:14 -05:00
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 tests: coverage: exclude the CODE UNREACHABLE of code coverage 2021-01-15 12:42:00 -05:00
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 kernel: support using thread local storage for errno 2020-10-24 10:52:00 -07:00
fatal.c kernel: fatal: Avoid thread api access when no multithreading 2021-04-29 14:50:35 +02:00
futex.c kernel: Fix 10.4 violations 2021-04-10 09:59:37 -04:00
idle.c kernel/sched: Remove "cooperative scheduling only" special cases 2021-05-24 23:38:16 -04:00
init.c kernel: native_posix: Don't run global C++ constructors 2021-07-12 19:51: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 kernel: Make both operands of operators of same essential type category 2021-04-01 05:34:17 -04:00
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 kernel: Fix negative mutex lock_count value 2021-07-06 19:19:41 -04:00
pipes.c kernel: remove object tracing 2021-05-07 22:10:21 -04:00
poll.c kernel: poll: fix coding guideline 15.7 missing comment 2021-06-04 16:22:50 -05:00
queue.c kernel: remove object tracing 2021-05-07 22:10:21 -04:00
sched.c kernel: move internal headers into include/kernel 2021-06-16 20:38:55 -04:00
sem.c kernel: remove object tracing 2021-05-07 22:10:21 -04:00
smp.c smp: move a preprocessor conditional from .c to cmake 2021-05-03 17:13:01 -04:00
stack.c kernel: remove object tracing 2021-05-07 22:10:21 -04:00
system_work_q.c kernel: remove old work queue implementation 2021-03-03 20:06:00 -05:00
thread.c kernel: thread: add default case, remove unused break 2021-06-04 16:21:01 -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: update k_object API to support immutable objects 2020-09-02 13:48:13 +02:00
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 linker: arm: Add cortex_m itcm section 2021-01-15 14:51:20 +01:00