commit | 7dac931e3662eb666cdabc3bf1759a7484249730 | [log] [tgz] |
---|---|---|
author | Daniel Leung <daniel.leung@intel.com> | Tue Jan 18 16:49:34 2022 -0800 |
committer | Anas Nashif <anas.nashif@intel.com> | Tue Jan 18 20:26:42 2022 -0500 |
tree | 6ce347a38164de36e36f9daa6679f68b41e14251 | |
parent | 96b4a86a5120898a114ffd96c5d1edfdcd146d0d [diff] |
tests: kernel/events/event_api: memory coherence fixes When CONFIG_KERNEL_COHERENCE=y, the k_event struct objects cannot be declared on stacks since they are incoherent among CPUs in the system. So mark them as static to place them in global data section and thus are coherence between CPUs. Signed-off-by: Daniel Leung <daniel.leung@intel.com>