diff options
author | Will Deacon <will.deacon@arm.com> | 2016-07-19 10:07:40 -0400 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2016-07-19 11:59:40 -0400 |
commit | 2572214170fb95370be21915c0397f4b6a27e7e3 (patch) | |
tree | afed76b142854f96cb8a0971985d058ce9743703 | |
parent | 6b68e14e71b0a6811ed776c6261d4e6c0389e2c0 (diff) |
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 <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>
-rw-r--r-- | arch/arm64/include/asm/irqflags.h | 3 |
1 files changed, 0 insertions, 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) | |||
110 | : : "r" (flags) : "memory"); \ | 110 | : : "r" (flags) : "memory"); \ |
111 | } while (0) | 111 | } while (0) |
112 | 112 | ||
113 | #define local_dbg_enable() asm("msr daifclr, #8" : : : "memory") | ||
114 | #define local_dbg_disable() asm("msr daifset, #8" : : : "memory") | ||
115 | |||
116 | #endif | 113 | #endif |
117 | #endif | 114 | #endif |