[MIPS] Protect more of timer_interrupt() by xtime_lock.
commitc74e5767f83ff7fcee51a49c3d8e3f28812cf812
authorRalf Baechle <ralf@linux-mips.org>
Tue, 14 Mar 2006 23:46:58 +0000 (14 23:46 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 16 Mar 2006 12:27:26 +0000 (16 12:27 +0000)
tree1b478eeb365bb6a6507a5912b4627ea9c28a621a
parent890f3f77d62813c774d629ce397ce0a8b39b58e3
[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>
arch/mips/kernel/time.c