Commit b9c517f5 authored by Atish Patra's avatar Atish Patra Committed by Anup Patel
Browse files

lib: Fix ipi type update



IPIs are updated in scratch space by source hart.
However, different harts or same hart may want to
send different IPIs before previous IPI was read
by the target hart. Currently, previous IPI type
is overwritten in that case.

Use atomic bit set/clear operations to update IPIs.

Signed-off-by: default avatarAtish Patra <atish.patra@wdc.com>
parent 312b6bf3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment