RISC-V: KVM: use bitmap_zero() API
authorYe Xingchen <ye.xingchen@zte.com.cn>
Sat, 6 May 2023 09:10:30 +0000 (17:10 +0800)
committerAnup Patel <anup@brainfault.org>
Tue, 6 Jun 2023 03:21:50 +0000 (08:51 +0530)
commit78329084b86436b9a77cedd3e1331734c442d413
tree228b7f19276962575e5c830f32a0948b8d5ee23a
parent9561de3a55bed6bdd44a12820ba81ec416e705a7
RISC-V: KVM: use bitmap_zero() API

bitmap_zero() is faster than bitmap_clear(), so use bitmap_zero()
instead of bitmap_clear().

Signed-off-by: Ye Xingchen <ye.xingchen@zte.com.cn>
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Anup Patel <anup@brainfault.org>
arch/riscv/kvm/tlb.c