diff options
| author | Huacai Chen <chenhuacai@loongson.cn> | 2025-12-06 10:40:32 +0800 |
|---|---|---|
| committer | Huacai Chen <chenhuacai@loongson.cn> | 2025-12-06 10:40:32 +0800 |
| commit | 79974cc3ba45f3884e9c18da92a62b198a18ca62 (patch) | |
| tree | 185d5dcaf908239d18c819938ea32a70a8aef64c /tools/lib/python/kdoc/kdoc_re.py | |
| parent | bf3fa8f232a1eec8d7b88dcd9e925e60f04f018d (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/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions
