]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
arm64: entry: Fix the typo in the comment of el1_dbg()
authorKevin Hao <haokexin@gmail.com>
Fri, 17 Apr 2020 10:32:11 +0000 (18:32 +0800)
committerWill Deacon <will@kernel.org>
Wed, 8 Jul 2020 20:44:40 +0000 (21:44 +0100)
The function name should be local_daif_mask().

Signed-off-by: Kevin Hao <haokexin@gmail.com>
Acked-by: Mark Rutlamd <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20200417103212.45812-2-haokexin@gmail.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/entry-common.c

index 3dbdf9752b118fd45784a48a7bdd85c6b25e2f1b..d3be9dbf549007e19e347ca9978694a410d12a4f 100644 (file)
@@ -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);