diff options
author | Mark Brown <broonie@kernel.org> | 2021-10-19 20:22:08 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2021-10-21 12:18:17 +0300 |
commit | 12cc2352bfb34dbdf97e51b006c32a8bd0d13bcb (patch) | |
tree | 22d355418e6e7e287dda201d6b8dc6cdf6566047 /arch/arm64/include/asm/fpsimd.h | |
parent | b53223e0a4d9fbdba1a1dd1161f7240506666946 (diff) | |
download | linux-12cc2352bfb34dbdf97e51b006c32a8bd0d13bcb.tar.xz |
arm64/sve: Make sve_state_size() static
There are no users outside fpsimd.c so make sve_state_size() static.
KVM open codes an equivalent.
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20211019172247.3045838-4-broonie@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/include/asm/fpsimd.h')
-rw-r--r-- | arch/arm64/include/asm/fpsimd.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm64/include/asm/fpsimd.h b/arch/arm64/include/asm/fpsimd.h index e0e30567b80f..917ecc301d1d 100644 --- a/arch/arm64/include/asm/fpsimd.h +++ b/arch/arm64/include/asm/fpsimd.h @@ -104,8 +104,6 @@ static inline bool sve_vq_available(unsigned int vq) #ifdef CONFIG_ARM64_SVE -extern size_t sve_state_size(struct task_struct const *task); - extern void sve_alloc(struct task_struct *task); extern void fpsimd_release_task(struct task_struct *task); extern void fpsimd_sync_to_sve(struct task_struct *task); |