Skip to contentSkip to conversation

x86/entry: Replace idtentry_enter/exit() to irqentry_enter/exit() in the comments

PATCH New Lai Jiangshan 1 participant 1 message Jun 1, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/entry: Replace idtentry_enter/exit() to irqentry_enter/exit() in the comments

From: Lai Jiangshan <[email protected]>

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.

arch/x86/include/asm/idtentry.h +1 -1
index c03a18cac78e..33d011ee1ef8 100644
@@ -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.
  */
arch/x86/include/asm/irq_stack.h +1 -1
index 562854c60808..c29cd755c9b6 100644
@@ -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							\
include/linux/entry-common.h +1 -1
index 2e2b8d6140ed..3c6a1c9c4ca6 100644
@@ -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);
 
Signature · 1 line
2.19.1.6.gb485710b