]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commite74b56800e78a10bc09b56a87831876a1d9d09ae
tree0468f7bd4324ffe8d6d7f00ffd2fa3376fcc65aa
parentbca7c20764c83a44c7b8b0831089922d56a3a9a2
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