projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a31835
)
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
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk30/timer.c
b/arch/arm/mach-rk30/timer.c
index 071fd1447c64e1590dae460c3de986d517a05833..972f801c4b2e260bcf998cd64a63dab3c52593ac 100644
(file)
--- 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);