diff options
author | Will Deacon <[email protected]> | 2015-05-29 14:26:59 +0100 |
---|---|---|
committer | Will Deacon <[email protected]> | 2015-07-27 15:28:52 +0100 |
commit | 0bc671d3f4bee9c31110d096ada0de52380e693d (patch) | |
tree | 63c5120264072fa4599fc6fe0f92f6a044d48f0c /lib/netdev-notifier-error-inject.c | |
parent | e9a4b795652f654a7870727e5333c1b709b8736c (diff) |
arm64: cmpxchg: avoid "cc" clobber in ll/sc routines
We can perform the cmpxchg comparison using eor and cbnz which avoids
the "cc" clobber for the ll/sc case and consequently for the LSE case
where we may have to fall-back on the ll/sc code at runtime.
Reviewed-by: Steve Capper <[email protected]>
Reviewed-by: Catalin Marinas <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions