Commit b8c1c9fe authored by Kevin Hao's avatar Kevin Hao Committed by Will Deacon
Browse files

arm64: entry: Fix the typo in the comment of el1_dbg()



The function name should be local_daif_mask().

Signed-off-by: default avatarKevin Hao <haokexin@gmail.com>
Acked-by: default avatarMark Rutlamd <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20200417103212.45812-2-haokexin@gmail.com


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 132330f8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ static void notrace el1_dbg(struct pt_regs *regs, unsigned long esr)
	/*
	 * The CPU masked interrupts, and we are leaving them masked during
	 * do_debug_exception(). Update PMR as if we had called
	 * local_mask_daif().
	 * local_daif_mask().
	 */
	if (system_uses_irq_prio_masking())
		gic_write_pmr(GIC_PRIO_IRQON | GIC_PRIO_PSR_I_SET);