Skip to content
Commit 7dac931e authored by Daniel Leung's avatar Daniel Leung Committed by Anas Nashif
Browse files

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: default avatarDaniel Leung <daniel.leung@intel.com>
parent 96b4a86a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment