Merge "arm64: Remove unused daif related functions/macros"

This commit is contained in:
qctecmdr 2020-10-13 12:56:13 -07:00 committed by Gerrit - the friendly Code Review server
commit 170e023af1

View File

@ -64,16 +64,6 @@ static inline unsigned long local_daif_save(void)
return flags;
}
static inline void local_daif_unmask(void)
{
trace_hardirqs_on();
asm volatile(
"msr daifclr, #0xf // local_daif_unmask"
:
:
: "memory");
}
static inline void local_daif_restore(unsigned long flags)
{
bool irq_disabled = flags & PSR_I_BIT;