[PATCH 1/5] Clocksource: Flextimer: Set cpumask to cpu_possible_mask

2014-08-25 Thread Xiubo Li
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 
Signed-off-by: Jingchang Lu 
---
 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 454227d..13222c1 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(_clockevent,
-- 
1.8.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 1/5] Clocksource: Flextimer: Set cpumask to cpu_possible_mask

2014-08-25 Thread Xiubo Li
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.xi...@freescale.com
Signed-off-by: Jingchang Lu jingchang...@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 454227d..13222c1 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,
-- 
1.8.5

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/