[PATCH 4/4] arm64: debug: remove unused local_dbg_{enable, disable} macros
Mark Rutland
mark.rutland at arm.com
Tue Jul 19 07:38:17 PDT 2016
On Tue, Jul 19, 2016 at 03:07:40PM +0100, Will Deacon wrote:
> The debug enable/disable macros are not used anywhere in the kernel, so
> remove them from irqflags.h
>
> Reported-by: Robin Murphy <robin.murphy at arm.com>
> Signed-off-by: Will Deacon <will.deacon at arm.com>
Acked-by: Mark Rutland <mark.rutland at arm.com>
Mark.
> ---
> arch/arm64/include/asm/irqflags.h | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/arch/arm64/include/asm/irqflags.h b/arch/arm64/include/asm/irqflags.h
> index 11cc941bd107..8c581281fa12 100644
> --- a/arch/arm64/include/asm/irqflags.h
> +++ b/arch/arm64/include/asm/irqflags.h
> @@ -110,8 +110,5 @@ static inline int arch_irqs_disabled_flags(unsigned long flags)
> : : "r" (flags) : "memory"); \
> } while (0)
>
> -#define local_dbg_enable() asm("msr daifclr, #8" : : : "memory")
> -#define local_dbg_disable() asm("msr daifset, #8" : : : "memory")
> -
> #endif
> #endif
> --
> 2.1.4
>
>
> _______________________________________________
> 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