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:
03377e5
)
arm: zynq: timer: Set clock_event cpumask
author
Soren Brinkmann
<soren.brinkmann@xilinx.com>
Wed, 19 Dec 2012 18:18:42 +0000
(10:18 -0800)
committer
Michal Simek
<michal.simek@xilinx.com>
Mon, 28 Jan 2013 12:27:28 +0000
(13:27 +0100)
The timers are common to both A9 cores, so let's set the clock
event struct's cpumask accordingly, to all possible CPUs.
Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Tested-by: Josh Cartwright <josh.cartwright@ni.com>
arch/arm/mach-zynq/timer.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-zynq/timer.c
b/arch/arm/mach-zynq/timer.c
index 7b2e04776a54f18e5e42bc3c194fc16469c6dedd..f9fbc9c1e7a62994a827c0f61bc712dfd9f216d8 100644
(file)
--- a/
arch/arm/mach-zynq/timer.c
+++ b/
arch/arm/mach-zynq/timer.c
@@
-267,6
+267,7
@@
static void __init zynq_ttc_setup_clockevent(struct device_node *np,
ttcce->ce.set_mode = xttcps_set_mode;
ttcce->ce.rating = 200;
ttcce->ce.irq = irq;
+ ttcce->ce.cpumask = cpu_possible_mask;
__raw_writel(0x23, ttcce->xttc.base_addr + XTTCPS_CNT_CNTRL_OFFSET);
__raw_writel(CLK_CNTRL_PRESCALE | CLK_CNTRL_PRESCALE_EN,