From linux-kernel@vger.kernel.org Wed Aug 27 15:59:09 2003 Date: Wed, 27 Aug 2003 14:07:03 +0000 From: Linux Kernel Mailing List To: bk-commits-24@vger.kernel.org Subject: Fix possible IRQ handling SMP race: Kudos to TeJun Huh ChangeSet 1.1084, 2003/08/27 11:07:03-03:00, marcelo@logos.cnet Fix possible IRQ handling SMP race: Kudos to TeJun Huh # This patch includes the following deltas: # ChangeSet 1.1083 -> 1.1084 # include/asm-i386/hardirq.h 1.4 -> 1.5 # hardirq.h | 2 ++ 1 files changed, 2 insertions(+) diff -Nru a/include/asm-i386/hardirq.h b/include/asm-i386/hardirq.h --- a/include/asm-i386/hardirq.h Wed Aug 27 08:02:39 2003 +++ b/include/asm-i386/hardirq.h Wed Aug 27 08:02:39 2003 @@ -67,6 +67,8 @@ { ++local_irq_count(cpu); + smp_mb(); + while (test_bit(0,&global_irq_lock)) { cpu_relax(); } - To unsubscribe from this list: send the line "unsubscribe bk-commits-24" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html