From: Soren Brinkmann Date: Wed, 19 Dec 2012 18:18:42 +0000 (-0800) Subject: arm: zynq: timer: Set clock_event cpumask X-Git-Tag: next-20130218~115^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=42ead3a591aeadb2722753aecf59f2ae63719075;p=karo-tx-linux.git arm: zynq: timer: Set clock_event cpumask 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 Tested-by: Josh Cartwright --- diff --git a/arch/arm/mach-zynq/timer.c b/arch/arm/mach-zynq/timer.c index 7b2e04776a54..f9fbc9c1e7a6 100644 --- 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,