From: Paul Mundt Date: Fri, 25 Apr 2008 02:54:24 +0000 (+0900) Subject: sh64: fixups for xtime_lock seqlock conversion. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9141d30a480850d989fc245909b98670a7b66ec1;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git sh64: fixups for xtime_lock seqlock conversion. Signed-off-by: Paul Mundt --- diff --git a/arch/sh/kernel/time_64.c b/arch/sh/kernel/time_64.c index 898977ee203..56205e36d00 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()));