diff options
author | Bibo Mao <maobibo@loongson.cn> | 2025-07-21 09:26:32 +0800 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2025-07-21 09:26:32 +0800 |
commit | d23bd878f6ea9cff93104159356e012a8b2bbfaf (patch) | |
tree | aa39c58d0a5fea470e7b312c453049e085b3a8e0 /scripts/lib | |
parent | 9afce1f1ee1f687b5ba16de87224ddcfadca3e93 (diff) |
LoongArch: KVM: Use standard bitops API with eiointc
Standard bitops APIs such test_bit() is used here, rather than manually
calculating the offset and mask. Also use non-atomic API __set_bit() and
__clear_bit() rather than set_bit() and clear_bit(), since the global
spinlock is held already.
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions