| commit | d6bd0e6b32ea72be91e5789b1e838c244f8a05d9 | [log] [tgz] |
|---|---|---|
| author | Ralf Baechle <ralf@linux-mips.org> | Tue Mar 14 23:46:58 2006 +0000 |
| committer | Ralf Baechle <ralf@linux-mips.org> | Sat Mar 18 16:59:29 2006 +0000 |
| tree | 2eb5551533165cb7772ffdef3d8cbdbac1050cb6 | |
| parent | 966f4406d903a4214fdc74bec54710c6232a95b8 [diff] |
[MIPS] Protect more of timer_interrupt() by xtime_lock.
From Dave Johnson <djohnson+linuxmips@sw.starentnetworks.com>:
* do_timer() expects the arch-specific handler to take the lock as it
modifies jiffies[_64] and xtime.
* writing timerhi/lo in timer_interrupt() will mess up
fixed_rate_gettimeoffset() which reads timerhi/lo.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>