summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-iop/time.c
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2008-02-01 21:27:02 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-02-04 13:14:07 +0000
commit66a2c077c36ee5c56e77ba3757702c4464011da6 (patch)
tree7a6d3f59e540f26f866fe7ed38ad01a01311a1a4 /arch/arm/plat-iop/time.c
parent2f65baff3ab546d011b0e3f944eccd1ec5816d5d (diff)
downloadlinux-stable-66a2c077c36ee5c56e77ba3757702c4464011da6.tar.gz
linux-stable-66a2c077c36ee5c56e77ba3757702c4464011da6.tar.bz2
linux-stable-66a2c077c36ee5c56e77ba3757702c4464011da6.zip
[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>
Diffstat (limited to 'arch/arm/plat-iop/time.c')
-rw-r--r--arch/arm/plat-iop/time.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/plat-iop/time.c b/arch/arm/plat-iop/time.c
index ba3d21d8fba3..6fe481ff4fdf 100644
--- a/arch/arm/plat-iop/time.c
+++ b/arch/arm/plat-iop/time.c
@@ -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;
}