]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[MIPS] Protect more of timer_interrupt() by xtime_lock.
authorRalf Baechle <ralf@linux-mips.org>
Tue, 14 Mar 2006 23:46:58 +0000 (23:46 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 18 Mar 2006 16:59:29 +0000 (16:59 +0000)
commitd6bd0e6b32ea72be91e5789b1e838c244f8a05d9
tree2eb5551533165cb7772ffdef3d8cbdbac1050cb6
parent966f4406d903a4214fdc74bec54710c6232a95b8
[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