From: Pete P. <pp...@us...> - 2001-08-22 00:39:57
|
Update of /cvsroot/linux-mips/linux/arch/mips/galileo-boards/ev96100 In directory usw-pr-cvs1:/tmp/cvs-serv3463/arch/mips/galileo-boards/ev96100 Modified Files: time.c Log Message: ev96100 timer update bug fix. Index: time.c =================================================================== RCS file: /cvsroot/linux-mips/linux/arch/mips/galileo-boards/ev96100/time.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** time.c 2001/07/06 01:25:33 1.2 --- time.c 2001/08/22 00:39:54 1.3 *************** *** 261,264 **** --- 261,268 ---- do { + count = read_32bit_cp0_register(CP0_COUNT); + timerhi += (count < timerlo); /* Wrap around */ + timerlo = count; + kstat.irqs[0][irq]++; do_timer(regs); |