Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -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