[xtensa-cvscommit] linux/arch/xtensa/platform-xt2000 time.c,1.1.1.1,1.2
Brought to you by:
zankel
|
From: <joe...@us...> - 2003-02-13 18:19:26
|
Update of /cvsroot/xtensa/linux/arch/xtensa/platform-xt2000
In directory sc8-pr-cvs1:/tmp/cvs-serv6671/arch/xtensa/platform-xt2000
Modified Files:
time.c
Log Message:
Documentation updates only, focused on removing many XTFIXME comments that no longer apply, are already resolved, were erroneous, etc.
Index: time.c
===================================================================
RCS file: /cvsroot/xtensa/linux/arch/xtensa/platform-xt2000/time.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** time.c 28 Aug 2002 16:10:14 -0000 1.1.1.1
--- time.c 13 Feb 2003 18:19:23 -0000 1.2
***************
*** 294,305 ****
CLOCK_TICK_RATE = measure_sys_clk();
! /* XTFIXME This may need to change for multiprocessor systems */
boot_cpu_data.udelay_val = CLOCK_TICK_RATE/1000000;
ticks = do_getrtctime();
! /* Wait until the clock changes before setting the time
! This puts Linux time within one jiffie of the actual clock. */
do {
xtime.tv_sec = do_getrtctime();
} while (xtime.tv_sec==ticks);
xtime.tv_usec = 0;
xthal_set_ccompare(LINUX_TIMER, xthal_get_ccount() + LINUX_TIMER_INTERVAL);
--- 294,309 ----
CLOCK_TICK_RATE = measure_sys_clk();
! /* This may need to change for multiprocessor systems. */
!
boot_cpu_data.udelay_val = CLOCK_TICK_RATE/1000000;
ticks = do_getrtctime();
!
! /* Wait until the clock changes before setting the time.
! * This puts Linux time within one jiffie of the actual clock. */
!
do {
xtime.tv_sec = do_getrtctime();
} while (xtime.tv_sec==ticks);
+
xtime.tv_usec = 0;
xthal_set_ccompare(LINUX_TIMER, xthal_get_ccount() + LINUX_TIMER_INTERVAL);
|