patch-2.2.0-pre1 linux/arch/arm/kernel/hw-ebsa285.c

Next file: linux/arch/arm/kernel/irq.c
Previous file: linux/arch/arm/kernel/ecard.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.132/linux/arch/arm/kernel/hw-ebsa285.c linux/arch/arm/kernel/hw-ebsa285.c
@@ -123,7 +123,7 @@
 		err = "system";
 		break;
 	}
-	if (next_warn[idx] <= jiffies) {
+	if (time_after_eq(jiffies, next_warn[idx])) {
 		next_warn[idx] = jiffies + 3 * HZ / 100;
 		printk(KERN_ERR "PCI %s error detected\n", err);
 	}

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