aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-04-25 11:54:24 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-05-08 19:51:36 +0900
commit9141d30a480850d989fc245909b98670a7b66ec1 (patch)
tree22c2d05858ac110e25135e0fb89b6eb9f3bc3bd4
parentsh: sh-bios depends on SUPERH32. (diff)
downloadlinux-dev-9141d30a480850d989fc245909b98670a7b66ec1.tar.xz
linux-dev-9141d30a480850d989fc245909b98670a7b66ec1.zip
sh64: fixups for xtime_lock seqlock conversion.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r--arch/sh/kernel/time_64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/kernel/time_64.c b/arch/sh/kernel/time_64.c
index 898977ee2030..56205e36d009 100644
--- a/arch/sh/kernel/time_64.c
+++ b/arch/sh/kernel/time_64.c
@@ -240,7 +240,7 @@ static inline void do_timer_interrupt(void)
* the irq version of write_lock because as just said we have irq
* locally disabled. -arca
*/
- write_lock(&xtime_lock);
+ write_seqlock(&xtime_lock);
asm ("getcon cr62, %0" : "=r" (current_ctc));
ctc_last_interrupt = (unsigned long) current_ctc;
@@ -266,7 +266,7 @@ static inline void do_timer_interrupt(void)
/* do it again in 60 s */
last_rtc_update = xtime.tv_sec - 600;
}
- write_unlock(&xtime_lock);
+ write_sequnlock(&xtime_lock);
#ifndef CONFIG_SMP
update_process_times(user_mode(get_irq_regs()));