aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/asm-generic/atomic.h
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2018-06-19 13:53:13 +0100
committerIngo Molnar <mingo@kernel.org>2018-06-21 12:52:12 +0200
commit7c8fc35dfc32dfa97d8a1dc25dbd064cf83936db (patch)
tree0ba317c82a0968d5db1441ba8e82ed1ddafe94f1 /include/asm-generic/atomic.h
parentlocking/atomics, asm-generic/bitops/lock.h: Rewrite using atomic_fetch_*() (diff)
downloadwireguard-linux-7c8fc35dfc32dfa97d8a1dc25dbd064cf83936db.tar.xz
wireguard-linux-7c8fc35dfc32dfa97d8a1dc25dbd064cf83936db.zip
locking/atomics/arm64: Replace our atomic/lock bitop implementations with asm-generic
The <asm-generic/bitops/{atomic,lock}.h> implementations are built around the atomic-fetch ops, which we implement efficiently for both LSE and LL/SC systems. Use that instead of our hand-rolled, out-of-line bitops.S. Signed-off-by: Will Deacon <will.deacon@arm.com> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-arm-kernel@lists.infradead.org Cc: yamada.masahiro@socionext.com Link: https://lore.kernel.org/lkml/1529412794-17720-9-git-send-email-will.deacon@arm.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/asm-generic/atomic.h')
0 files changed, 0 insertions, 0 deletions