[PATCH -next] arm64/sve: Remove unused declaration read_smcr_features()
Zenghui Yu
yuzenghui at huawei.com
Wed Aug 14 01:47:00 PDT 2024
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 at 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 at huawei.com>
More information about the linux-arm-kernel
mailing list