OpenCloudOS-Kernel/arch/riscv
Andrea Parri 8b699616f3
riscv, atomic: Add #define's for the atomic_{cmp,}xchg_*() variants
If an architecture does not define the atomic_{cmp,}xchg_*() variants,
the generic implementation defaults them to the fully-ordered version.

riscv's had its own variants since "the beginning", but it never told
(#define-d these for) the generic implementation: it is time to do so.

Signed-off-by: Andrea Parri <andrea.parri@amarulasolutions.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
2018-12-21 08:10:30 -08:00
..
boot RISC-V: Build flat and compressed kernel images 2018-11-20 05:19:09 -08:00
configs RISC-V: defconfig: Enable printk timestamps 2018-11-12 17:16:10 -08:00
include riscv, atomic: Add #define's for the atomic_{cmp,}xchg_*() variants 2018-12-21 08:10:30 -08:00
kernel While rewriting the function graph tracer, I discovered a design flaw that 2018-11-30 09:32:34 -08:00
lib RISC-V: lib: Fix build error for 64-bit 2018-11-12 18:09:55 -08:00
mm mm: remove include/linux/bootmem.h 2018-10-31 08:54:16 -07:00
Kconfig RISC-V Patches for the 4.20 Merge Window, Part 2 v2 2018-10-31 16:20:28 -07:00
Kconfig.debug RISC-V: Cosmetic menuconfig changes 2018-10-22 17:38:20 -07:00
Makefile RISC-V: Build flat and compressed kernel images 2018-11-20 05:19:09 -08:00