summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/parse_data_structs.py
diff options
context:
space:
mode:
authorHuacai Chen <chenhuacai@loongson.cn>2025-12-06 10:40:32 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2025-12-06 10:40:32 +0800
commit79974cc3ba45f3884e9c18da92a62b198a18ca62 (patch)
tree185d5dcaf908239d18c819938ea32a70a8aef64c /tools/lib/python/kdoc/parse_data_structs.py
parentbf3fa8f232a1eec8d7b88dcd9e925e60f04f018d (diff)
LoongArch: Add atomic operations for 32BIT/64BIT
LoongArch64 has both AMO and LL/SC instructions, while LoongArch32 only has LL/SC intstructions. So we add a Kconfig option CPU_HAS_AMO here and implement atomic operations (also including local operations and percpu operations) for both 32BIT and 64BIT platforms. Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/lib/python/kdoc/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions