OSDN Git Service

arm64/fpsimd: Make kernel_neon_ API _GPL
authorMark Brown <broonie@kernel.org>
Mon, 7 Nov 2022 17:07:47 +0000 (17:07 +0000)
committerWill Deacon <will@kernel.org>
Tue, 8 Nov 2022 16:07:36 +0000 (16:07 +0000)
commitaaeca98456431a8d9382ecf48ac4843e252c07b3
treea3d25e5044b004951cd5cdac83c9f754fbd69fc7
parentf0c4d9fc9cc9462659728d168387191387e903cc
arm64/fpsimd: Make kernel_neon_ API _GPL

Currently for reasons lost in the mists of time the kernel_neon_ APIs are
EXPORT_SYMBOL() but the general policy for floating point usage is that it
should be GPL only given the non-standard runtime environment that holds
while it is in use and PCS impacts when code is compiled for FP usage.

Given the limited existing deployment of non-GPL modules for arm64 and the
fact that other architectures like x86 already make their equivalent
functions GPL only this is not expected to be disruptive to existing users.

Suggested-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20221107170747.276910-1-broonie@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/fpsimd.c