Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0286237c authored by Rohit Vaswani's avatar Rohit Vaswani
Browse files

ARM64: spinlock: Move the dsb+sev after the stlxr has succeeded



In arch_read_unlock, the earlier commit
88a06607 had added the DSB+SEV
before checking if the stlxr has successfully completed.
Move the DSB + SEV after the compare instruction to prevent
unnecessary SEVs.

Change-Id: I58bdad4db333a2acc31bcdc0e911c493cd3417bd
Signed-off-by: default avatarRohit Vaswani <rvaswani@codeaurora.org>
parent 6a8a77bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment