patch-2.1.127 linux/arch/m68k/atari/time.c

Next file: linux/arch/mips/kernel/irixsig.c
Previous file: linux/arch/i386/mm/fault.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.126/linux/arch/m68k/atari/time.c linux/arch/m68k/atari/time.c
@@ -279,8 +279,7 @@
 
     while( RTC_READ(RTC_FREQ_SELECT) & RTC_UIP ) {
         current->state = TASK_INTERRUPTIBLE;
-        current->timeout = jiffies + HWCLK_POLL_INTERVAL;
-        schedule();
+        schedule_timeout(HWCLK_POLL_INTERVAL);
     }
 
     save_flags(flags);

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