[PATCH] KVM: arm64: Convert kvm_mpidr_index() to bitmap_gather()

Oliver Upton oliver.upton at linux.dev
Thu May 2 10:06:40 PDT 2024


On Thu, May 02, 2024 at 04:42:47PM +0100, Marc Zyngier wrote:
> Linux 6.9 has introduced new bitmap manipulation helpers, with
> bitmap_gather() being of special interest, as it does exactly
> what kvm_mpidr_index() is already doing.

Ooo, that's a handy one!

> Make the latter a wrapper around the former.
> 
> Signed-off-by: Marc Zyngier <maz at kernel.org>

Reviewed-by: Oliver Upton <oliver.upton at linux.dev>

-- 
Thanks,
Oliver



More information about the linux-arm-kernel mailing list