summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/smp_twd.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-08-13 09:43:19 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-08-13 09:43:19 +0100
commite426f8e39bb612bfdd38fa7a75d10ba95787d1af (patch)
tree37bb57051eabb390ea19bcd5ddfaebb8675e24fe /arch/arm/kernel/smp_twd.c
parent73e0881d31406acc09eb11fa073108b43c89124e (diff)
parent72dc53acd50db066a5a5ebe1f39fae73d7e62aa8 (diff)
downloadop-kernel-dev-e426f8e39bb612bfdd38fa7a75d10ba95787d1af.zip
op-kernel-dev-e426f8e39bb612bfdd38fa7a75d10ba95787d1af.tar.gz
Merge branch '3.1-fixes-for-rmk' of git://linux-arm.org/linux-2.6-wd into fixes
Diffstat (limited to 'arch/arm/kernel/smp_twd.c')
-rw-r--r--arch/arm/kernel/smp_twd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/kernel/smp_twd.c b/arch/arm/kernel/smp_twd.c
index 2c277d4..01c1862 100644
--- a/arch/arm/kernel/smp_twd.c
+++ b/arch/arm/kernel/smp_twd.c
@@ -137,8 +137,8 @@ void __cpuinit twd_timer_setup(struct clock_event_device *clk)
clk->max_delta_ns = clockevent_delta2ns(0xffffffff, clk);
clk->min_delta_ns = clockevent_delta2ns(0xf, clk);
+ clockevents_register_device(clk);
+
/* Make sure our local interrupt controller has this enabled */
gic_enable_ppi(clk->irq);
-
- clockevents_register_device(clk);
}
OpenPOWER on IntegriCloud