samples: fix the metairq_dispatch sample failed on acrn_ehl_crb
The samples/kernel/metairq_dispatch runs failed on acrn_ehl_crb
due to the potential race condition in accessing the global stat
data. Add a spinlock to prevent this.
Fixes #40889
Signed-off-by:
Enjia Mai <enjia.mai@intel.com>
Loading
Please sign in to comment