Messages in this thread Patch in this message | | | From | Xiubo Li <> | Subject | [PATCHv2 3/4] Clocksource: Flextimer: Set cpumask to cpu_possible_mask | Date | Fri, 5 Sep 2014 13:02:19 +0800 |
| |
The Flextimer is not tied to CPU0, make it usable on any CPU. For Vybrid there is only one CPU, while for LS1+ there are more than one.
Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com> --- drivers/clocksource/fsl_ftm_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clocksource/fsl_ftm_timer.c b/drivers/clocksource/fsl_ftm_timer.c index ccb8c32..c0ce603 100644 --- a/drivers/clocksource/fsl_ftm_timer.c +++ b/drivers/clocksource/fsl_ftm_timer.c @@ -214,7 +214,7 @@ static int __init ftm_clockevent_init(unsigned long freq, int irq) return err; } - ftm_clockevent.cpumask = cpumask_of(0); + ftm_clockevent.cpumask = cpu_all_mask; ftm_clockevent.irq = irq; clockevents_config_and_register(&ftm_clockevent, -- 2.1.0.27.g96db324
| |