patch-2.2.0-pre1 linux/arch/arm/kernel/irq.c

Next file: linux/arch/i386/config.in
Previous file: linux/arch/arm/kernel/hw-ebsa285.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.132/linux/arch/arm/kernel/irq.c linux/arch/arm/kernel/irq.c
@@ -356,7 +356,7 @@
 	/*
 	 * wait for spurious interrupts to mask themselves out again
 	 */
-	for (delay = jiffies + HZ/10; delay > jiffies; )
+	for (delay = jiffies + HZ/10; time_before(jiffies, delay); )
 		/* min 100ms delay */;
 
 	/*

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov