diff options
author | Mark Rutland <mark.rutland@arm.com> | 2021-05-25 15:02:02 +0100 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-05-26 13:20:49 +0200 |
commit | c7178cdecdbef8321f418fac55f3afaca3bb4c96 (patch) | |
tree | 24342a283c43466628890a991fe3f58913e7bfb6 /arch/microblaze | |
parent | 201e2c1bbe659720913ed5272a2c44e6ab646c8a (diff) | |
download | linux-c7178cdecdbef8321f418fac55f3afaca3bb4c96.tar.bz2 |
locking/atomic: h8300: use asm-generic exclusively
As h8300's implementation of the atomics isn't using any arch-specific
functionality, and its implementation of cmpxchg only uses assembly to
non-atomically swap two elements in memory, we may as well use the
asm-generic atomic.h and cmpxchg.h, and avoid the duplicate code.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Will Deacon <will@kernel.org>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20210525140232.53872-4-mark.rutland@arm.com
Diffstat (limited to 'arch/microblaze')
0 files changed, 0 insertions, 0 deletions