]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
riscv: mm: use bitmap_zero() API
authorYe Xingchen <ye.xingchen@zte.com.cn>
Sat, 6 May 2023 09:11:41 +0000 (17:11 +0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 31 Aug 2023 07:18:29 +0000 (00:18 -0700)
commit665c51f644433f4f976ffc13e14523aaceacf9fe
treea330b510372653bde4a12fdc5ca020e8b4d845eb
parent9389e6715f16a8de7aeeb0b2fd50f13e5a8938ef
riscv: mm: 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>
Link: https://lore.kernel.org/r/202305061711417142802@zte.com.cn
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/mm/context.c