Skip to content

Commit

Permalink
[PATCH] i386: Fix stack switching in do_IRQ
Browse files Browse the repository at this point in the history
There was a bogus hunk from the genirq merge that essentially
broke stack switching for hard interrupts. Remove it since it isn't
needed.

Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Aug 30, 2006
1 parent bbad0b6 commit 266f056
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions arch/i386/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,6 @@ fastcall unsigned int do_IRQ(struct pt_regs *regs)
}
#endif

if (!irq_desc[irq].handle_irq) {
__do_IRQ(irq, regs);
goto out_exit;
}
#ifdef CONFIG_4KSTACKS

curctx = (union irq_ctx *) current_thread_info();
Expand Down Expand Up @@ -125,7 +121,6 @@ fastcall unsigned int do_IRQ(struct pt_regs *regs)
#endif
__do_IRQ(irq, regs);

out_exit:
irq_exit();

return 1;
Expand Down

0 comments on commit 266f056

Please sign in to comment.