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

Next file: linux/arch/ppc/8xx_io/uart.c
Previous file: linux/arch/i386/vmlinux.lds
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.132/linux/arch/mips/kernel/irq.c linux/arch/mips/kernel/irq.c
@@ -287,7 +287,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); )
 		/* about 100ms delay */;
 
 	/* now filter out any obviously spurious interrupts */

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