[RFC PATCH 19/36] arm64: cpufeature: Remove system_has_prio_mask_debugging()
Jinjie Ruan
ruanjinjie at huawei.com
Wed Jul 22 01:24:45 PDT 2026
On 7/9/2026 8:13 PM, Vladimir Murzin wrote:
> Users of system_has_prio_mask_debugging() have gone, so remove it.
>
> Signed-off-by: Vladimir Murzin <vladimir.murzin at arm.com>
> ---
> arch/arm64/include/asm/cpufeature.h | 6 ------
> 1 file changed, 6 deletions(-)
>
> diff --git a/arch/arm64/include/asm/cpufeature.h b/arch/arm64/include/asm/cpufeature.h
> index a57870fa96db..95cd8d4acd26 100644
> --- a/arch/arm64/include/asm/cpufeature.h
> +++ b/arch/arm64/include/asm/cpufeature.h
> @@ -821,12 +821,6 @@ static inline bool system_supports_mte(void)
> return alternative_has_cap_unlikely(ARM64_MTE);
> }
>
> -static inline bool system_has_prio_mask_debugging(void)
> -{
> - return IS_ENABLED(CONFIG_ARM64_DEBUG_PRIORITY_MASKING) &&
> - system_uses_irq_prio_masking();
> -}
> -
Reviewed-by: Jinjie Ruan <ruanjinjie at huawei.com>
> static inline bool system_supports_bti(void)
> {
> return cpus_have_final_cap(ARM64_BTI);
More information about the linux-arm-kernel
mailing list