diff options
author | Bibo Mao <maobibo@loongson.cn> | 2025-07-21 09:26:32 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-08-28 16:34:49 +0200 |
commit | 8bb4dfcc3611db7c3f77521e33666248bfc9df03 (patch) | |
tree | e8baeb4480f4787015095edcf825aa45a7ea36f5 /drivers/net/ethernet/intel/igc | |
parent | 1d7864acd497cb468a998d44631f84896f885e85 (diff) |
LoongArch: KVM: Use standard bitops API with eiointc
[ Upstream commit d23bd878f6ea9cff93104159356e012a8b2bbfaf ]
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>
Stable-dep-of: 0dfd9ea7bf80 ("LoongArch: KVM: Use kvm_get_vcpu_by_id() instead of kvm_get_vcpu()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/intel/igc')
0 files changed, 0 insertions, 0 deletions