[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20210531223805.25870-1-jiangshanlai@gmail.com>
Date: Tue, 1 Jun 2021 06:37:58 +0800
From: Lai Jiangshan <jiangshanlai@...il.com>
To: linux-kernel@...r.kernel.org
Cc: Lai Jiangshan <laijs@...ux.alibaba.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
x86@...nel.org, "H. Peter Anvin" <hpa@...or.com>,
Peter Zijlstra <peterz@...radead.org>,
Andy Lutomirski <luto@...nel.org>,
Alexandre Chartre <alexandre.chartre@...cle.com>,
Juergen Gross <jgross@...e.com>,
Joerg Roedel <jroedel@...e.de>, Jian Cai <caij2003@...il.com>,
Kees Cook <keescook@...omium.org>
Subject: [PATCH] x86/entry: Replace idtentry_enter/exit() to irqentry_enter/exit() in the comments
From: Lai Jiangshan <laijs@...ux.alibaba.com>
Since the commit bdcd178ada90 ("x86/entry: Use generic interrupt
entry/exit code") and the commit a27a0a55495c ("x86/entry: Cleanup
idtentry_enter/exit") used irqentry_enter/exit() to replace
idtentry_enter/exit(), there is no idtentry_enter/exit() in the code.
But there are some idtentry_enter/exit() still in the comments and
they need to be cleanup.
Signed-off-by: Lai Jiangshan <laijs@...ux.alibaba.com>
diff --git a/arch/x86/include/asm/idtentry.h b/arch/x86/include/asm/idtentry.h
index c03a18cac78e..33d011ee1ef8 100644
--- a/arch/x86/include/asm/idtentry.h
+++ b/arch/x86/include/asm/idtentry.h
@@ -128,7 +128,7 @@ static __always_inline void __##func(struct pt_regs *regs, \
* body with a pair of curly brackets.
*
* Contrary to DEFINE_IDTENTRY() this does not invoke the
- * idtentry_enter/exit() helpers before and after the body invocation. This
+ * irqentry_enter/exit() helpers before and after the body invocation. This
* needs to be done in the body itself if applicable. Use if extra work
* is required before the enter/exit() helpers are invoked.
*/
diff --git a/arch/x86/include/asm/irq_stack.h b/arch/x86/include/asm/irq_stack.h
index 562854c60808..c29cd755c9b6 100644
--- a/arch/x86/include/asm/irq_stack.h
+++ b/arch/x86/include/asm/irq_stack.h
@@ -142,7 +142,7 @@
* saved register to be safe vs. the irq_enter_rcu() call because the
* clobbers already prevent the compiler from storing it in a callee
* clobbered register. As the compiler has to preserve @regs for the final
- * call to idtentry_exit() anyway, it's likely that it does not cause extra
+ * call to irqentry_exit() anyway, it's likely that it does not cause extra
* effort for this asm magic.
*/
#define ASM_CALL_SYSVEC \
diff --git a/include/linux/entry-common.h b/include/linux/entry-common.h
index 2e2b8d6140ed..3c6a1c9c4ca6 100644
--- a/include/linux/entry-common.h
+++ b/include/linux/entry-common.h
@@ -445,7 +445,7 @@ typedef struct irqentry_state {
* establish the proper context for NOHZ_FULL. Otherwise scheduling on exit
* would not be possible.
*
- * Returns: An opaque object that must be passed to idtentry_exit()
+ * Returns: An opaque object that must be passed to irqentry_exit()
*/
irqentry_state_t noinstr irqentry_enter(struct pt_regs *regs);
--
2.19.1.6.gb485710b
Powered by blists - more mailing lists