Skip to content

Commit b8c1c9f

Browse files
haokexinwilldeacon
authored andcommitted
arm64: entry: Fix the typo in the comment of el1_dbg()
The function name should be local_daif_mask(). Signed-off-by: Kevin Hao <[email protected]> Acked-by: Mark Rutlamd <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent 132330f commit b8c1c9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/kernel/entry-common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ static void notrace el1_dbg(struct pt_regs *regs, unsigned long esr)
5757
/*
5858
* The CPU masked interrupts, and we are leaving them masked during
5959
* do_debug_exception(). Update PMR as if we had called
60-
* local_mask_daif().
60+
* local_daif_mask().
6161
*/
6262
if (system_uses_irq_prio_masking())
6363
gic_write_pmr(GIC_PRIO_IRQON | GIC_PRIO_PSR_I_SET);

0 commit comments

Comments
 (0)