Commit 25722141 authored by Will Deacon's avatar Will Deacon Committed by Catalin Marinas

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: default avatarRobin Murphy <robin.murphy@arm.com>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
Acked-by: default avatarMark Rutland <mark.rutland@arm.com>
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent 6b68e14e
...@@ -110,8 +110,5 @@ static inline int arch_irqs_disabled_flags(unsigned long flags) ...@@ -110,8 +110,5 @@ static inline int arch_irqs_disabled_flags(unsigned long flags)
: : "r" (flags) : "memory"); \ : : "r" (flags) : "memory"); \
} while (0) } while (0)
#define local_dbg_enable() asm("msr daifclr, #8" : : : "memory")
#define local_dbg_disable() asm("msr daifset, #8" : : : "memory")
#endif #endif
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment