[ARM] xtime_seqlock: fix more ARM machines for xtime deadlocking
move update_process_times() out from under xtime_lock. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:

committed by
Russell King

parent
2f65baff3a
commit
66a2c077c3
@@ -57,8 +57,6 @@ unsigned long iop_gettimeoffset(void)
|
||||
static irqreturn_t
|
||||
iop_timer_interrupt(int irq, void *dev_id)
|
||||
{
|
||||
write_seqlock(&xtime_lock);
|
||||
|
||||
write_tisr(1);
|
||||
|
||||
while ((signed long)(next_jiffy_time - read_tcr1())
|
||||
@@ -67,8 +65,6 @@ iop_timer_interrupt(int irq, void *dev_id)
|
||||
next_jiffy_time -= ticks_per_jiffy;
|
||||
}
|
||||
|
||||
write_sequnlock(&xtime_lock);
|
||||
|
||||
return IRQ_HANDLED;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user