[PATCH] arm64/cpufeature: Unexport set_cpu_feature()

Mark Brown broonie at kernel.org
Thu Jun 16 02:35:39 PDT 2022


On Thu, Jun 16, 2022 at 10:15:26AM +0100, Mark Rutland wrote:

> Looking through the git history, the exposed was added in commit:

>   aec0bff757c93748 ("arm64: HWCAP: encapsulate elf_hwcap")

> ... but even then there didn't appear to be any in-tree modular user, and the
> commit message didn't explain why.

Prior to that commit the function was a static inline in the header and
the variable it manipulated was exported, presumably for the read side
which is more sensible, so it looks like it was just preserving the
status quo without really thinking about it.
-------------- 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/20220616/211bbac3/attachment.sig>


More information about the linux-arm-kernel mailing list