arch/arm64/include/asm/fpsimd.h | 2 -- 1 file changed, 2 deletions(-)
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>
---
arch/arm64/include/asm/fpsimd.h | 2 --
1 file changed, 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
--
2.34.1
On Sat, 10 Aug 2024 17:39:44 +0800, Yue Haibing wrote:
> Commit 391208485c3a ("arm64/sve: Remove SMCR pseudo register from cpufeature code")
> removed the implementation but leave declaration.
>
>
Applied to arm64 (for-next/misc), thanks!
[1/1] arm64/sve: Remove unused declaration read_smcr_features()
https://git.kernel.org/arm64/c/93b81abc6ea9
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
On 2024/8/10 17:39, Yue Haibing wrote:
> 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>
> ---
> arch/arm64/include/asm/fpsimd.h | 2 --
> 1 file changed, 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
Reviewed-by: Zenghui Yu <yuzenghui@huawei.com>
On Sat, Aug 10, 2024 at 05:39:44PM +0800, Yue Haibing wrote:
> Commit 391208485c3a ("arm64/sve: Remove SMCR pseudo register from cpufeature code")
> removed the implementation but leave declaration.
Reviewed-by: Mark Brown <broonie@kernel.org>
On 8/10/24 15:09, Yue Haibing wrote:
> 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>
> ---
> arch/arm64/include/asm/fpsimd.h | 2 --
> 1 file changed, 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
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
© 2016 - 2026 Red Hat, Inc.