• Will Deacon's avatar
    arm64: lse: convert lse alternatives NOP padding to use __nops · 05492f2f
    Will Deacon authored
    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>
    05492f2f
atomic_lse.h 14.8 KB