From: Will Deacon Date: Tue, 19 Jul 2016 14:07:40 +0000 (+0100) Subject: arm64: debug: remove unused local_dbg_{enable, disable} macros X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2572214170fb95370be21915c0397f4b6a27e7e3;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git arm64: debug: remove unused local_dbg_{enable, disable} macros The debug enable/disable macros are not used anywhere in the kernel, so remove them from irqflags.h Reported-by: Robin Murphy Signed-off-by: Will Deacon Acked-by: Mark Rutland Signed-off-by: Catalin Marinas --- 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