mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] x86/entry: Replace idtentry_enter/exit() to irqentry_enter/exit() in the comments
@ 2021-05-31 22:37 Lai Jiangshan
  0 siblings, 0 replies; only message in thread
From: Lai Jiangshan @ 2021-05-31 22:37 UTC (permalink / raw)
  To: linux-kernel
  Cc: Lai Jiangshan, Thomas Gleixner, Ingo Molnar, Borislav Petkov,
	x86, H. Peter Anvin, Peter Zijlstra, Andy Lutomirski,
	Alexandre Chartre, Juergen Gross, Joerg Roedel, Jian Cai,
	Kees Cook

From: Lai Jiangshan <laijs@linux.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@linux.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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-01  8:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-31 22:37 [PATCH] x86/entry: Replace idtentry_enter/exit() to irqentry_enter/exit() in the comments Lai Jiangshan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®