From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757197AbaHZFuY (ORCPT ); Tue, 26 Aug 2014 01:50:24 -0400 Received: from mail-bn1lp0145.outbound.protection.outlook.com ([207.46.163.145]:10787 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757155AbaHZFuV (ORCPT ); Tue, 26 Aug 2014 01:50:21 -0400 From: Xiubo Li To: , CC: , , Xiubo Li Subject: [PATCH 1/5] Clocksource: Flextimer: Set cpumask to cpu_possible_mask Date: Tue, 26 Aug 2014 13:45:47 +0800 Message-ID: <1409031951-39021-2-git-send-email-Li.Xiubo@freescale.com> X-Mailer: git-send-email 1.8.5 In-Reply-To: <1409031951-39021-1-git-send-email-Li.Xiubo@freescale.com> References: <1409031951-39021-1-git-send-email-Li.Xiubo@freescale.com> X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:192.88.158.2;CTRY:US;IPV:CAL;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(6009001)(189002)(199003)(104166001)(50466002)(76482001)(85306004)(79102001)(48376002)(97736001)(62966002)(31966008)(77982001)(74662001)(74502001)(87936001)(6806004)(69596002)(19580395003)(83322001)(88136002)(44976005)(68736004)(90102001)(83072002)(89996001)(85852003)(19580405001)(4396001)(50226001)(92566001)(92726001)(93916002)(86362001)(95666004)(26826002)(102836001)(81156004)(105606002)(106466001)(36756003)(77156001)(104016003)(87286001)(21056001)(84676001)(229853001)(64706001)(80022001)(99396002)(76176999)(50986999)(107046002)(46102001)(20776003)(81542001)(81342001)(47776003);DIR:OUT;SFP:;SCL:1;SRVR:BY2PR03MB191;H:az84smr01.freescale.net;FPR:;MLV:ovrnspm;PTR:InfoDomainNonexistent;MX:1;A:1;LANG:en; MIME-Version: 1.0 Content-Type: text/plain X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;UriScan:;UriScan:; X-Forefront-PRVS: 03152A99FF Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=Li.Xiubo@freescale.com; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:; X-OriginatorOrg: freescale.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(&ftm_clockevent, -- 1.8.5