patch-2.4.8 linux/arch/s390x/kernel/time.c
Next file: linux/arch/s390x/kernel/traps.c
Previous file: linux/arch/s390x/kernel/smp.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Wed Jul 25 14:12:01 2001
- Orig file:
v2.4.7/linux/arch/s390x/kernel/time.c
- Orig date:
Tue Feb 13 14:13:44 2001
diff -u --recursive --new-file v2.4.7/linux/arch/s390x/kernel/time.c linux/arch/s390x/kernel/time.c
@@ -101,9 +101,10 @@
{
unsigned long flags;
unsigned long usec, sec;
- unsigned long lost_ticks = jiffies - wall_jiffies;
+ unsigned long lost_ticks;
read_lock_irqsave(&xtime_lock, flags);
+ lost_ticks = jiffies - wall_jiffies;
usec = do_gettimeoffset();
if (lost_ticks)
usec +=(USECS_PER_JIFFY*lost_ticks);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)