]> git.baikalelectronics.ru Git - kernel.git/commit
sh: Turn off IRQs around get_timer_offset() calls.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 1 Dec 2006 04:12:05 +0000 (13:12 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 6 Dec 2006 01:45:39 +0000 (10:45 +0900)
commit33c10a5e8b00b038262cad2c4ad1ab6b39ba6105
tree0468f7bd4324ffe8d6d7f00ffd2fa3376fcc65aa
parent9812234e9ea852218f6c07c04e336a7e436f02a1
sh: Turn off IRQs around get_timer_offset() calls.

Since all of the sys_timer sources currently do this on their own
within the ->get_offset() path, it's more sensible to just have
the caller take care of it when grabbing xtime_lock. Incidentally,
this is more in line with what others (ie, ARM) are doing already.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/time.c
arch/sh/kernel/timers/timer-cmt.c
arch/sh/kernel/timers/timer-mtu2.c
arch/sh/kernel/timers/timer-tmu.c