Skip to content

Commit

Permalink
sh64: fixups for xtime_lock seqlock conversion.
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed May 8, 2008
1 parent 1a013e2 commit 9141d30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/sh/kernel/time_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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()));
Expand Down

0 comments on commit 9141d30

Please sign in to comment.