arm64: debug: remove unused local_dbg_{enable, disable} macros
authorWill Deacon <will.deacon@arm.com>
Tue, 19 Jul 2016 14:07:40 +0000 (15:07 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 19 Jul 2016 15:59:40 +0000 (16:59 +0100)
The debug enable/disable macros are not used anywhere in the kernel, so
remove them from irqflags.h

Reported-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/irqflags.h

index 11cc941bd107b5cb2457101ea15ac772e2eb699a..8c581281fa12ca350ee0a3cb478211f0d03f0f4c 100644 (file)
@@ -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