Skip to content
Commit 5b84b0ac authored by Ming Shao's avatar Ming Shao Committed by Carles Cufi
Browse files

ztress: Coherence fix for tests/lib/spsc_pbuf



When CONFIG_KERNEL_COHERENCE=y, it's illegal to place shared
data(like ztress_context_data in this test case) on the stack,
because that memory is incoherent with respect to other CPUs
in the system.

In this specific case, it will cause PC register to load invalid
handler function pointer and crash the Xtensa processor.

Make it static.

Signed-off-by: default avatarMing Shao <ming.shao@intel.com>
parent b92b8719
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment