summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/idtentry.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2020-07-14 17:01:52 +0300
committerThomas Gleixner <tglx@linutronix.de>2020-07-16 13:44:26 +0300
commit790ce3b40017bbd759a3d81e23c05d42b3d34b90 (patch)
treed7ec696d1b26789e74aac86539c70b1b94da2e61 /arch/x86/include/asm/idtentry.h
parentbc916e67c0eeb734fa877e63128db3d2352508f4 (diff)
downloadlinux-790ce3b40017bbd759a3d81e23c05d42b3d34b90.tar.xz
x86/idtentry: Remove stale comment
Stack switching for interrupt handlers happens in C now for both 64 and 32bit. Remove the stale comment which claims the contrary. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/include/asm/idtentry.h')
-rw-r--r--arch/x86/include/asm/idtentry.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/x86/include/asm/idtentry.h b/arch/x86/include/asm/idtentry.h
index 2293b443b193..50ea186b8108 100644
--- a/arch/x86/include/asm/idtentry.h
+++ b/arch/x86/include/asm/idtentry.h
@@ -191,11 +191,9 @@ __visible noinstr void func(struct pt_regs *regs, unsigned long error_code)
* to the function as error_code argument which needs to be truncated
* to an u8 because the push is sign extending.
*
- * On 64-bit idtentry_enter/exit() are invoked in the ASM entry code before
- * and after switching to the interrupt stack. On 32-bit this happens in C.
- *
* irq_enter/exit_rcu() are invoked before the function body and the
- * KVM L1D flush request is set.
+ * KVM L1D flush request is set. Stack switching to the interrupt stack
+ * has to be done in the function body if necessary.
*/
#define DEFINE_IDTENTRY_IRQ(func) \
static __always_inline void __##func(struct pt_regs *regs, u8 vector); \