[PATCH 4/4] arm64: cpufeature: fold cpus_set_cap() into update_cpu_capabilities()

Mark Brown broonie at kernel.org
Thu Jun 1 04:14:27 PDT 2023


On Thu, Jun 01, 2023 at 11:08:12AM +0100, Mark Rutland wrote:
> We only use cpus_set_cap() in update_cpu_capabilities(), where we
> open-code an analgous update to boot_cpucaps.
> 
> Due to the way the cpucap_ptrs[] array is initialized, we know that the
> capability number cannot be greater than or equal to ARM64_NCAPS, so the
> warning is superfluous.

Reviewed-by: Mark Brown <broonie at kernel.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20230601/248e1a49/attachment.sig>


More information about the linux-arm-kernel mailing list