diff options
Diffstat (limited to 'arch/arm/mach-realview/localtimer.c')
-rw-r--r-- | arch/arm/mach-realview/localtimer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-realview/localtimer.c b/arch/arm/mach-realview/localtimer.c index 44d178cd5733..504961ef343c 100644 --- a/arch/arm/mach-realview/localtimer.c +++ b/arch/arm/mach-realview/localtimer.c | |||
@@ -161,7 +161,7 @@ void __cpuinit local_timer_setup(unsigned int cpu) | |||
161 | clk->set_mode = local_timer_set_mode; | 161 | clk->set_mode = local_timer_set_mode; |
162 | clk->set_next_event = local_timer_set_next_event; | 162 | clk->set_next_event = local_timer_set_next_event; |
163 | clk->irq = IRQ_LOCALTIMER; | 163 | clk->irq = IRQ_LOCALTIMER; |
164 | clk->cpumask = cpumask_of_cpu(cpu); | 164 | clk->cpumask = cpumask_of(cpu); |
165 | clk->shift = 20; | 165 | clk->shift = 20; |
166 | clk->mult = div_sc(mpcore_timer_rate, NSEC_PER_SEC, clk->shift); | 166 | clk->mult = div_sc(mpcore_timer_rate, NSEC_PER_SEC, clk->shift); |
167 | clk->max_delta_ns = clockevent_delta2ns(0xffffffff, clk); | 167 | clk->max_delta_ns = clockevent_delta2ns(0xffffffff, clk); |
@@ -199,7 +199,7 @@ void __cpuinit local_timer_setup(unsigned int cpu) | |||
199 | clk->rating = 200; | 199 | clk->rating = 200; |
200 | clk->set_mode = dummy_timer_set_mode; | 200 | clk->set_mode = dummy_timer_set_mode; |
201 | clk->broadcast = smp_timer_broadcast; | 201 | clk->broadcast = smp_timer_broadcast; |
202 | clk->cpumask = cpumask_of_cpu(cpu); | 202 | clk->cpumask = cpumask_of(cpu); |
203 | 203 | ||
204 | clockevents_register_device(clk); | 204 | clockevents_register_device(clk); |
205 | } | 205 | } |