locking/atomics/arm64: Replace our atomic/lock bitop implementations with asm-generic
authorWill Deacon <will.deacon@arm.com>
Tue, 19 Jun 2018 12:53:13 +0000 (13:53 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 21 Jun 2018 10:52:12 +0000 (12:52 +0200)
commit7c8fc35dfc32dfa97d8a1dc25dbd064cf83936db
tree0ba317c82a0968d5db1441ba8e82ed1ddafe94f1
parent84c6591103dbeaf393a092a3fc7b09510825f6b9
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>
arch/arm64/include/asm/bitops.h
arch/arm64/lib/Makefile
arch/arm64/lib/bitops.S [deleted file]