patch-2.1.132 linux/arch/m68k/amiga/pcmcia.c

Next file: linux/arch/m68k/atari/atakeyb.c
Previous file: linux/arch/m68k/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.131/linux/arch/m68k/amiga/pcmcia.c linux/arch/m68k/amiga/pcmcia.c
@@ -14,6 +14,7 @@
 
 #include <linux/types.h>
 #include <linux/sched.h>
+#include <linux/timer.h>
 #include <asm/amigayle.h>
 #include <asm/amipcmcia.h>
 
@@ -26,7 +27,7 @@
 	unsigned char b;
 
 	gayle_reset = 0x00;
-	while (jiffies - reset_start_time < 1*HZ/100);
+	while (time_before(jiffies, reset_start_time + 1*HZ/100));
 	b = gayle_reset;
 }
 

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