linux-stable/arch/microblaze
Mark Rutland b68622a86c locking/atomic: microblaze: use asm-generic exclusively
Microblaze provides its own implementation of atomic_dec_if_positive(),
but nothing else. For a while now, the conditional inc/dec ops have been
optional, and the core code will provide generic implementations using
the code templates in scripts/atomic/fallbacks/.

For simplicity, and for consistency with the other conditional atomic
ops, let's drop the microblaze implementation of
atomic_dec_if_positive(), and use the generic implementation.

With that, we can also drop the local asm/atomic.h and asm/cmpxchg.h
headers, as asm-generic/atomic.h is mandatory-y, and we can pull in
asm-generic/cmpxchg.h via generic-y. This matches what nios2 and nds32
do today.

There should be no functional change as a result of this patch.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20210525140232.53872-5-mark.rutland@arm.com
2021-05-26 13:20:49 +02:00
..
boot xsysace: Remove SYSACE driver 2021-03-23 10:27:38 -06:00
configs microblaze: Remove noMMU code 2020-11-26 16:39:35 +01:00
include locking/atomic: microblaze: use asm-generic exclusively 2021-05-26 13:20:49 +02:00
kernel Add Landlock, a new LSM from Mickaël Salaün <mic@linux.microsoft.com> 2021-05-01 18:50:44 -07:00
lib microblaze: add 'fallthrough' to memcpy/memset/memmove 2021-04-22 09:34:05 +02:00
mm mm: move mem_init_print_info() into mm_init() 2021-04-30 11:20:42 -07:00
pci microblaze: Remove noMMU code 2020-11-26 16:39:35 +01:00
Kconfig Microblaze patches for 5.12-rc1 2021-02-23 10:04:03 -08:00
Kconfig.debug docs: kbuild: convert docs to ReST and rename to *.rst 2019-06-14 14:21:21 -06:00
Kconfig.platform docs: kbuild: convert docs to ReST and rename to *.rst 2019-06-14 14:21:21 -06:00
Makefile arch: microblaze: Remove CONFIG_OPROFILE support 2021-01-22 12:12:23 +05:30