Commit 790ce3b4 authored by Thomas Gleixner's avatar Thomas Gleixner

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: default avatarThomas Gleixner <tglx@linutronix.de>
parent bc916e67
...@@ -191,11 +191,9 @@ __visible noinstr void func(struct pt_regs *regs, unsigned long error_code) ...@@ -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 the function as error_code argument which needs to be truncated
* to an u8 because the push is sign extending. * 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 * 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) \ #define DEFINE_IDTENTRY_IRQ(func) \
static __always_inline void __##func(struct pt_regs *regs, u8 vector); \ static __always_inline void __##func(struct pt_regs *regs, u8 vector); \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment