]> 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)
commit5b0b14e550a006b4d093619e7517923872bcc218
tree377ee63c9a0f543145721409286e38bc59ec4511
parentf2ac457a61389b7769aad8295027cbe0f91c5b80
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]