KVM: arm64: Convert kvm_mpidr_index() to bitmap_gather()
authorMarc Zyngier <maz@kernel.org>
Thu, 2 May 2024 15:42:47 +0000 (16:42 +0100)
committerMarc Zyngier <maz@kernel.org>
Fri, 3 May 2024 10:34:51 +0000 (11:34 +0100)
commit838d992b84486311e6039170d28b79a7a0633f06
tree05cf2d997f987fc5592abfbfdea1e7ff1e1ea91b
parent03b3d00a70b55857439511c1b558ca00a99f4126
KVM: arm64: Convert kvm_mpidr_index() to bitmap_gather()

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.

Make the latter a wrapper around the former.

Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Link: https://lore.kernel.org/r/20240502154247.3012042-1-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/kvm_host.h