Skip to content

Commit 790ce3b

Browse files
committed
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 <[email protected]>
1 parent bc916e6 commit 790ce3b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

arch/x86/include/asm/idtentry.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,11 +191,9 @@ __visible noinstr void func(struct pt_regs *regs, unsigned long error_code)
191191
* to the function as error_code argument which needs to be truncated
192192
* to an u8 because the push is sign extending.
193193
*
194-
* On 64-bit idtentry_enter/exit() are invoked in the ASM entry code before
195-
* and after switching to the interrupt stack. On 32-bit this happens in C.
196-
*
197194
* irq_enter/exit_rcu() are invoked before the function body and the
198-
* KVM L1D flush request is set.
195+
* KVM L1D flush request is set. Stack switching to the interrupt stack
196+
* has to be done in the function body if necessary.
199197
*/
200198
#define DEFINE_IDTENTRY_IRQ(func) \
201199
static __always_inline void __##func(struct pt_regs *regs, u8 vector); \

0 commit comments

Comments
 (0)