patch-2.3.37 linux/arch/i386/kernel/irq.c

Next file: linux/arch/i386/kernel/pci-i386.c
Previous file: linux/arch/i386/kernel/i386_ksyms.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.36/linux/arch/i386/kernel/irq.c linux/arch/i386/kernel/irq.c
@@ -707,9 +707,11 @@
 			}
 			spin_unlock_irqrestore(&irq_controller_lock,flags);
 
+#ifdef __SMP__
 			/* Wait to make sure it's not being used on another CPU */
 			while (irq_desc[irq].status & IRQ_INPROGRESS)
 				barrier();
+#endif
 			kfree(action);
 			return;
 		}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)