diff options
author | Mark Rutland <mark.rutland@arm.com> | 2021-05-25 16:02:04 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-05-26 13:20:49 +0200 |
commit | f0c7bf1b77c65c9a273207d228df27009f09ec0b (patch) | |
tree | 9c8fac2cd31990d2bd2ca33d62c6d9fcd862ec69 /include/asm-generic | |
parent | locking/atomic: microblaze: use asm-generic exclusively (diff) | |
download | linux-f0c7bf1b77c65c9a273207d228df27009f09ec0b.tar.xz linux-f0c7bf1b77c65c9a273207d228df27009f09ec0b.zip |
locking/atomic: openrisc: avoid asm-generic/atomic.h
OpenRISC is the only architecture which uses asm-generic/atomic.h and
also provides its own implementation of some functions, requiring
ifdeferry in the asm-generic header. As OpenRISC provides the vast
majority of functions itself, it would be simpler overall if it also
provided the few functions it cribs from asm-generic.
This patch decouples OpenRISC from asm-generic/atomic.h. Subsequent
patches will simplify the asm-generic implementation and remove the now
unnecessary ifdeferry.
There should be no functional change as a result of this patch.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Stafford Horne <shorne@gmail.com>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: Jonas Bonn <jonas@southpole.se>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20210525140232.53872-6-mark.rutland@arm.com
Diffstat (limited to 'include/asm-generic')
0 files changed, 0 insertions, 0 deletions