Skip to content
Snippets Groups Projects
Commit d6bd0e6b authored by Ralf Baechle's avatar Ralf Baechle
Browse files

[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: default avatarRalf Baechle <ralf@linux-mips.org>
parent 966f4406
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment