Skip to content
Commit e5bf9a4b authored by Yury Norov's avatar Yury Norov
Browse files

riscv: switch set_icache_stale_mask() to using non-atomic assign_cpu()



The atomic cpumask_assign_cpu() follows non-atomic cpumask_setall(),
which makes the whole operation non-atomic. Fix this by relaxing to
non-atomic __assign_cpu().

Fixes: 7c1e5b96 ("riscv: Disable preemption while handling PR_RISCV_CTX_SW_FENCEI_OFF")
Signed-off-by: default avatarYury Norov [NVIDIA] <yury.norov@gmail.com>
parent 4923c2c5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment