[PATCH] arm64/sve: Move sve_free() into SVE code section

Catalin Marinas catalin.marinas at arm.com
Wed May 18 06:53:37 PDT 2022


On Tue, 17 May 2022 16:52:03 +0200, Geert Uytterhoeven wrote:
> If CONFIG_ARM64_SVE is not set:
> 
>     arch/arm64/kernel/fpsimd.c:294:13: warning: ‘sve_free’ defined but not used [-Wunused-function]
> 
> Fix this by moving sve_free() and __sve_free() into the existing section
> protected by "#ifdef CONFIG_ARM64_SVE", now the last user outside that
> section has been removed.
> 
> [...]

Applied to arm64 (for-next/sme), thanks!

[1/1] arm64/sve: Move sve_free() into SVE code section
      https://git.kernel.org/arm64/c/8e1f78a92101

-- 
Catalin




More information about the linux-arm-kernel mailing list