From patchwork Fri May 23 10:31:27 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 30721 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f69.google.com (mail-oa0-f69.google.com [209.85.219.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 245D020369 for ; Fri, 23 May 2014 10:38:51 +0000 (UTC) Received: by mail-oa0-f69.google.com with SMTP id i7sf22281482oag.8 for ; Fri, 23 May 2014 03:38:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=JK6d4EKCooHNhecQGMaN2seTA5a3IHA2LyquOi5kyL8=; b=T6M8pLhyQg8dw5J0qLBuxbyn3z1tck9zSrdQZlt9snWiExrh68t5HD58/Tl1kbGr5w 6lufDYMZet4A5K0zhi9hstXOyQ6krojVQQRmIejo7nVOl1Z/vKPieQ7mI8Epc7oZIOkf YVXfUPh+VKmm/6Ckvzk0n9NClsJoWEV3+6HveuiWJsBidp8XS2KHYe4EHyKem9cq9W1L ELVqcM+G5cqXzwb8kSeGBsIPwzR4E7UYd/oVBl0gvx++FzR0jGu8rw24MHqtmPdv3DSx mjn0/nnHfsWDVjJ46cXiPzG3HdRapBCBkilQIEa29eXGjssLSer//hTdPBQx+YxLwvPA MRZw== X-Gm-Message-State: ALoCoQmqpPDlifav7lHnsW+rYdh6K4hKS5dyUPnNQv3LYu4BEPaFpl3678Cf5YUJbc5Y+CXBVeT7 X-Received: by 10.182.106.229 with SMTP id gx5mr1752484obb.31.1400841530505; Fri, 23 May 2014 03:38:50 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.29.4 with SMTP id a4ls1689259qga.45.gmail; Fri, 23 May 2014 03:38:50 -0700 (PDT) X-Received: by 10.220.98.143 with SMTP id q15mr452302vcn.38.1400841530366; Fri, 23 May 2014 03:38:50 -0700 (PDT) Received: from mail-ve0-f170.google.com (mail-ve0-f170.google.com [209.85.128.170]) by mx.google.com with ESMTPS id dc6si1383112vcb.70.2014.05.23.03.38.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 May 2014 03:38:50 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.170 as permitted sender) client-ip=209.85.128.170; Received: by mail-ve0-f170.google.com with SMTP id db11so5999984veb.15 for ; Fri, 23 May 2014 03:38:50 -0700 (PDT) X-Received: by 10.58.29.234 with SMTP id n10mr3479164veh.16.1400841530278; Fri, 23 May 2014 03:38:50 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp20204vcb; Fri, 23 May 2014 03:38:49 -0700 (PDT) X-Received: by 10.66.149.37 with SMTP id tx5mr4537431pab.81.1400841529557; Fri, 23 May 2014 03:38:49 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qz9si3315415pab.142.2014.05.23.03.38.48 for ; Fri, 23 May 2014 03:38:49 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753067AbaEWKcp (ORCPT + 27 others); Fri, 23 May 2014 06:32:45 -0400 Received: from mail-wi0-f176.google.com ([209.85.212.176]:54696 "EHLO mail-wi0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751553AbaEWKce (ORCPT ); Fri, 23 May 2014 06:32:34 -0400 Received: by mail-wi0-f176.google.com with SMTP id n15so598416wiw.15 for ; Fri, 23 May 2014 03:32:33 -0700 (PDT) X-Received: by 10.180.211.243 with SMTP id nf19mr2390421wic.58.1400841153769; Fri, 23 May 2014 03:32:33 -0700 (PDT) Received: from localhost.localdomain (AToulouse-654-1-404-187.w82-125.abo.wanadoo.fr. [82.125.3.187]) by mx.google.com with ESMTPSA id s9sm2200908wix.13.2014.05.23.03.32.32 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 May 2014 03:32:33 -0700 (PDT) From: Daniel Lezcano To: tglx@linutronix.de, mingo@kernel.org Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 47/71] clocksource: sh_mtu2: Set cpumask to cpu_possible_mask Date: Fri, 23 May 2014 12:31:27 +0200 Message-Id: <1400841111-6683-47-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1400841111-6683-1-git-send-email-daniel.lezcano@linaro.org> References: <537F214C.8000700@linaro.org> <1400841111-6683-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: daniel.lezcano@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.170 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Laurent Pinchart The MTU2 is not tied to CPU0, make it usable on any CPU. Signed-off-by: Laurent Pinchart Tested-by: Wolfram Sang --- drivers/clocksource/sh_mtu2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clocksource/sh_mtu2.c b/drivers/clocksource/sh_mtu2.c index 2cf0048..702ce60 100644 --- a/drivers/clocksource/sh_mtu2.c +++ b/drivers/clocksource/sh_mtu2.c @@ -331,7 +331,7 @@ static void sh_mtu2_register_clockevent(struct sh_mtu2_channel *ch, ced->name = name; ced->features = CLOCK_EVT_FEAT_PERIODIC; ced->rating = rating; - ced->cpumask = cpumask_of(0); + ced->cpumask = cpu_possible_mask; ced->set_mode = sh_mtu2_clock_event_mode; ced->suspend = sh_mtu2_clock_event_suspend; ced->resume = sh_mtu2_clock_event_resume;