Skip to content
Commit 05492f2f authored by Will Deacon's avatar Will Deacon
Browse files

arm64: lse: convert lse alternatives NOP padding to use __nops



The LSE atomics are implemented using alternative code sequences of
different lengths, and explicit NOP padding is used to ensure the
patching works correctly.

This patch converts the bulk of the LSE code over to using the __nops
macro, which makes it slightly clearer as to what is going on and also
consolidates all of the padding at the end of the various sequences.

Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent f99a250c
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