arm64: debug: remove unused local_dbg_{enable, disable} macros
authorWill Deacon <[email protected]>
Tue, 19 Jul 2016 14:07:40 +0000 (15:07 +0100)
committerCatalin Marinas <[email protected]>
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 <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
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