rk30: timer: set clockevent irq, fix for smp
author黄涛 <huangtao@rock-chips.com>
Tue, 14 Feb 2012 10:35:39 +0000 (18:35 +0800)
committer黄涛 <huangtao@rock-chips.com>
Tue, 14 Feb 2012 10:35:39 +0000 (18:35 +0800)
arch/arm/mach-rk30/timer.c

index 071fd1447c64e1590dae460c3de986d517a05833..972f801c4b2e260bcf998cd64a63dab3c52593ac 100644 (file)
@@ -146,7 +146,7 @@ static __init int rk30_timer_init_clockevent(void)
        clockevents_calc_mult_shift(ce, 24000000, 4);
        ce->max_delta_ns = clockevent_delta2ns(0xFFFFFFFFUL, ce);
        ce->min_delta_ns = clockevent_delta2ns(1, ce) + 1;
-
+       ce->irq = rk30_timer_clockevent_irq.irq;
        ce->cpumask = cpu_all_mask;
 
        clockevents_register_device(ce);