sh64: fixups for xtime_lock seqlock conversion.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
@@ -240,7 +240,7 @@ static inline void do_timer_interrupt(void)
|
|||||||
* the irq version of write_lock because as just said we have irq
|
* the irq version of write_lock because as just said we have irq
|
||||||
* locally disabled. -arca
|
* locally disabled. -arca
|
||||||
*/
|
*/
|
||||||
write_lock(&xtime_lock);
|
write_seqlock(&xtime_lock);
|
||||||
asm ("getcon cr62, %0" : "=r" (current_ctc));
|
asm ("getcon cr62, %0" : "=r" (current_ctc));
|
||||||
ctc_last_interrupt = (unsigned long) 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 */
|
/* do it again in 60 s */
|
||||||
last_rtc_update = xtime.tv_sec - 600;
|
last_rtc_update = xtime.tv_sec - 600;
|
||||||
}
|
}
|
||||||
write_unlock(&xtime_lock);
|
write_sequnlock(&xtime_lock);
|
||||||
|
|
||||||
#ifndef CONFIG_SMP
|
#ifndef CONFIG_SMP
|
||||||
update_process_times(user_mode(get_irq_regs()));
|
update_process_times(user_mode(get_irq_regs()));
|
||||||
|
Reference in New Issue
Block a user