[ARM] Fix timer damage from d3d74453c34f8fd87674a8cf5b8a327c68f22e99
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Mon, 28 Jan 2008 10:16:37 +0000 (10:16 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 28 Jan 2008 10:17:12 +0000 (10:17 +0000)
commit193c3cc12583344be01206078d9ad3fec5dbc397
tree97eb5d6ec88969d21fbf0c5815e3b77e8e1f4aaf
parent6232be32afa121628c72291ce7eaa24a639905c2
[ARM] Fix timer damage from d3d74453c34f8fd87674a8cf5b8a327c68f22e99

Move the xtime write mode seqlock into timer_tick(), so it only
surrounds the call to do_timer().

This avoids a deadlock in update_process_times() ...
hrtimer_get_softirq_time() which tries to get a read mode seqlock
on xtime, thereby preventing booting.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
21 files changed:
arch/arm/kernel/time.c
arch/arm/mach-aaec2000/core.c
arch/arm/mach-clps711x/time.c
arch/arm/mach-clps7500/core.c
arch/arm/mach-ebsa110/core.c
arch/arm/mach-ep93xx/core.c
arch/arm/mach-footbridge/dc21285-timer.c
arch/arm/mach-footbridge/isa-timer.c
arch/arm/mach-h720x/cpu-h7201.c
arch/arm/mach-h720x/cpu-h7202.c
arch/arm/mach-integrator/core.c
arch/arm/mach-ixp2000/core.c
arch/arm/mach-ks8695/time.c
arch/arm/mach-lh7a40x/time.c
arch/arm/mach-mx3/time.c
arch/arm/mach-netx/time.c
arch/arm/mach-omap2/timer-gp.c
arch/arm/mach-pnx4008/time.c
arch/arm/mach-realview/core.c
arch/arm/mach-sa1100/time.c
arch/arm/mach-shark/core.c