From: 黄涛 Date: Tue, 14 Feb 2012 10:35:39 +0000 (+0800) Subject: rk30: timer: set clockevent irq, fix for smp X-Git-Tag: firefly_0821_release~9595^2~147 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=41211c67278ddc58d1a612086a596fc05ede2352;p=firefly-linux-kernel-4.4.55.git rk30: timer: set clockevent irq, fix for smp --- diff --git a/arch/arm/mach-rk30/timer.c b/arch/arm/mach-rk30/timer.c index 071fd1447c64..972f801c4b2e 100644 --- a/arch/arm/mach-rk30/timer.c +++ b/arch/arm/mach-rk30/timer.c @@ -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);