On 5/18/22 17:26, Huacai Chen wrote:
Add common headers (atomic, bitops, barrier and locking) for basic LoongArch support. Signed-off-by: Huacai Chen <chenhuacai@xxxxxxxxxxx> --- arch/loongarch/include/asm/atomic.h | 358 +++++++++++++++++++++++++++ arch/loongarch/include/asm/barrier.h | 51 ++++ arch/loongarch/include/asm/bitops.h | 33 +++ arch/loongarch/include/asm/bitrev.h | 34 +++ arch/loongarch/include/asm/cmpxchg.h | 121 +++++++++ arch/loongarch/include/asm/local.h | 138 +++++++++++ arch/loongarch/include/asm/percpu.h | 20 ++ 7 files changed, 755 insertions(+) create mode 100644 arch/loongarch/include/asm/atomic.h create mode 100644 arch/loongarch/include/asm/barrier.h create mode 100644 arch/loongarch/include/asm/bitops.h create mode 100644 arch/loongarch/include/asm/bitrev.h create mode 100644 arch/loongarch/include/asm/cmpxchg.h create mode 100644 arch/loongarch/include/asm/local.h create mode 100644 arch/loongarch/include/asm/percpu.h
No major problems here so: Reviewed-by: WANG Xuerui <git@xxxxxxxxxx>