diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2022-05-17 17:52:03 +0300 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2022-05-18 16:44:36 +0300 |
commit | 8e1f78a92101e327740ea0dac903bff9ad37a59a (patch) | |
tree | 628d03bdf2e47d18fa40991c011f267860382a62 /Documentation | |
parent | 696207d4258b2ab66dbd1655a7cfb3e978889085 (diff) | |
download | linux-8e1f78a92101e327740ea0dac903bff9ad37a59a.tar.xz |
arm64/sve: Move sve_free() into SVE code section
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.
Fixes: a1259dd80719 ("arm64/sve: Delay freeing memory in fpsimd_flush_thread()")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/cd633284683c24cb9469f8ff429915aedf67f868.1652798894.git.geert+renesas@glider.be
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions