Skip to content
Commit f71cd2aa authored by Watson Zeng's avatar Watson Zeng Committed by Anas Nashif
Browse files

spinlock: validate: fix the dependency with MP_NUM_CPUS



the implementation of spinlock validation uses two LSB bits in the
bottom of a pointer union to store a CPU index, which only has space
for 4 CPUS. the MP_NUM_CPUS should be <= 4.

Signed-off-by: default avatarWatson Zeng <zhiwei@synopsys.com>
parent 3d267eee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment