summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2021-10-19 18:22:08 +0100
committerWill Deacon <will@kernel.org>2021-10-21 10:18:17 +0100
commit12cc2352bfb34dbdf97e51b006c32a8bd0d13bcb (patch)
tree22d355418e6e7e287dda201d6b8dc6cdf6566047 /arch/arm64/include/asm
parentb53223e0a4d9fbdba1a1dd1161f7240506666946 (diff)
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')
-rw-r--r--arch/arm64/include/asm/fpsimd.h2
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);