summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYue Haibing <yuehaibing@huawei.com>2024-08-10 11:39:44 +0200
committerWill Deacon <will@kernel.org>2024-08-16 12:48:14 +0200
commit93b81abc6ea9bf4eafec2af68484c6735e4f9167 (patch)
tree076748a4c2cc2e3265509b68103a2b8cacb9e6e3
parentarm64: mm: Remove unused declaration early_io_map() (diff)
downloadlinux-93b81abc6ea9bf4eafec2af68484c6735e4f9167.tar.xz
linux-93b81abc6ea9bf4eafec2af68484c6735e4f9167.zip
arm64/sve: Remove unused declaration read_smcr_features()
Commit 391208485c3a ("arm64/sve: Remove SMCR pseudo register from cpufeature code") removed the implementation but leave declaration. Signed-off-by: Yue Haibing <yuehaibing@huawei.com> Reviewed-by: Mark Brown <broonie@kernel.org> Reviewed-by: Zenghui Yu <yuzenghui@huawei.com> Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com> Link: https://lore.kernel.org/r/20240810093944.2587809-1-yuehaibing@huawei.com Signed-off-by: Will Deacon <will@kernel.org>
-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 bc69ac368d73..f2a84efc3618 100644
--- a/arch/arm64/include/asm/fpsimd.h
+++ b/arch/arm64/include/asm/fpsimd.h
@@ -155,8 +155,6 @@ extern void cpu_enable_sme2(const struct arm64_cpu_capabilities *__unused);
extern void cpu_enable_fa64(const struct arm64_cpu_capabilities *__unused);
extern void cpu_enable_fpmr(const struct arm64_cpu_capabilities *__unused);
-extern u64 read_smcr_features(void);
-
/*
* Helpers to translate bit indices in sve_vq_map to VQ values (and
* vice versa). This allows find_next_bit() to be used to find the