]> git.baikalelectronics.ru Git - kernel.git/commit
LoongArch: Add atomic/locking headers
authorHuacai Chen <chenhuacai@loongson.cn>
Tue, 31 May 2022 10:04:11 +0000 (18:04 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Fri, 3 Jun 2022 12:09:28 +0000 (20:09 +0800)
commit681a08102e4aa585a1ebb70572718f0a817acba0
tree377ee63c9a0f543145721409286e38bc59ec4511
parentfce967c28f504a2aa101fd8266592d088426cfae
LoongArch: Add atomic/locking headers

Add common headers (atomic, bitops, barrier and locking) for basic
LoongArch support.

Reviewed-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/include/asm/atomic.h [new file with mode: 0644]
arch/loongarch/include/asm/barrier.h [new file with mode: 0644]
arch/loongarch/include/asm/bitops.h [new file with mode: 0644]
arch/loongarch/include/asm/bitrev.h [new file with mode: 0644]
arch/loongarch/include/asm/cmpxchg.h [new file with mode: 0644]
arch/loongarch/include/asm/local.h [new file with mode: 0644]
arch/loongarch/include/asm/percpu.h [new file with mode: 0644]