[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)
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

Simple merge