[PATCH v1] arm64/asm: Remove unused enable_da macro

Mark Rutland mark.rutland at arm.com
Wed Oct 19 06:21:40 PDT 2022


On Wed, Oct 19, 2022 at 01:03:45PM +0100, Mark Brown wrote:
> We no longer use the enable_da macro, remove it to avoid having to think
> about maintaining it.
> 
> Signed-off-by: Mark Brown <broonie at kernel.org>

Whhops; I had meant to remove that when I got rid of the last user in commit:

  064dbfb416914194 ("arm64: entry: convert IRQ+FIQ handlers to C")

FWIW:

  Acked-by: Mark Rutland <mark.rutland at arm.com>

Mark.

> ---
>  arch/arm64/include/asm/assembler.h | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/arch/arm64/include/asm/assembler.h b/arch/arm64/include/asm/assembler.h
> index e5957a53be39..27e0c75f7818 100644
> --- a/arch/arm64/include/asm/assembler.h
> +++ b/arch/arm64/include/asm/assembler.h
> @@ -51,11 +51,6 @@
>  	msr	daif, \flags
>  	.endm
>  
> -	/* IRQ/FIQ are the lowest priority flags, unconditionally unmask the rest. */
> -	.macro enable_da
> -	msr	daifclr, #(8 | 4)
> -	.endm
> -
>  /*
>   * Save/restore interrupts.
>   */
> 
> base-commit: 9abf2313adc1ca1b6180c508c25f22f9395cc780
> -- 
> 2.30.2
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel



More information about the linux-arm-kernel mailing list