Message ID | 618f2788ea8cba3e40ede4c45a9b1fb662a58c59.1397492345.git.viresh.kumar@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCRIZROPVQPBBFMZWCNAKGQEQVHNZ6Y@linaro.org> 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 4764F20F46 for <linaro@patches.linaro.org>; Mon, 14 Apr 2014 16:28:06 +0000 (UTC) Received: by mail-oa0-f69.google.com with SMTP id i7sf45704216oag.4 for <linaro@patches.linaro.org>; Mon, 14 Apr 2014 09:28:05 -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: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=W12OMv6IGiI9KJqxWuzbptt76Z/SAWEIEtJfYhlI8Ik=; b=da748rZnYrOGY/CrVQtVAbKybB2ARoYez21ijYolWgTbHV2Bckg6A7IiEO/Shw4kCD f9RkRF9sWRFb125xn6UAN2BH9JbM2cE37RLcFtmgWJmXf2sTVu58aw2GqRc5pHX2o9Sv QOROnGzpJQrSjgJqqlZ+l5XO/KhvNiKGaipX3CUjWw4/riRCbkJYW0+4sCatIzNGgtJ2 VtpUIfCCTgvSoShpbPuvMccNrzCUwxjcHG2fZJ65PKipKu4JenJCz9gmWpKmFLYUMyJN MxLAd26lsledfqJWIWuLkSkQGvhTs/aSLxb/nYNNdt5HdjQuN8Iyf5TQyOm7vN/i1Evd mH1A== X-Gm-Message-State: ALoCoQlrSNWGPLv7HUVNGQXCsWMGOm3RxM9APHDu+DY3V1NzssaOur19sCR8OrMWGs7Q2f80f/s4 X-Received: by 10.50.70.66 with SMTP id k2mr8027766igu.7.1397492885780; Mon, 14 Apr 2014 09:28:05 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.40.200 with SMTP id x66ls2669467qgx.46.gmail; Mon, 14 Apr 2014 09:28:05 -0700 (PDT) X-Received: by 10.220.249.6 with SMTP id mi6mr996435vcb.33.1397492885664; Mon, 14 Apr 2014 09:28:05 -0700 (PDT) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id o6si2832732vcn.129.2014.04.14.09.28.05 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 14 Apr 2014 09:28:05 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.181; Received: by mail-vc0-f181.google.com with SMTP id id10so7592128vcb.26 for <patchwork-forward@linaro.org>; Mon, 14 Apr 2014 09:28:05 -0700 (PDT) X-Received: by 10.52.171.115 with SMTP id at19mr216464vdc.48.1397492885588; Mon, 14 Apr 2014 09:28:05 -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 ib8csp162904vcb; Mon, 14 Apr 2014 09:28:05 -0700 (PDT) X-Received: by 10.66.240.70 with SMTP id vy6mr44727142pac.80.1397492884817; Mon, 14 Apr 2014 09:28:04 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id tv5si9134739pbc.502.2014.04.14.09.28.04; Mon, 14 Apr 2014 09:28:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755874AbaDNQ1r (ORCPT <rfc822;markus.mayer@linaro.org> + 26 others); Mon, 14 Apr 2014 12:27:47 -0400 Received: from mail-pd0-f169.google.com ([209.85.192.169]:49490 "EHLO mail-pd0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753360AbaDNQ1k (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 14 Apr 2014 12:27:40 -0400 Received: by mail-pd0-f169.google.com with SMTP id fp1so8307056pdb.0 for <linux-kernel@vger.kernel.org>; Mon, 14 Apr 2014 09:27:40 -0700 (PDT) X-Received: by 10.66.122.36 with SMTP id lp4mr45249913pab.82.1397492860058; Mon, 14 Apr 2014 09:27:40 -0700 (PDT) Received: from localhost ([122.167.126.16]) by mx.google.com with ESMTPSA id ei4sm34729868pbb.42.2014.04.14.09.27.37 for <multiple recipients> (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 14 Apr 2014 09:27:39 -0700 (PDT) From: Viresh Kumar <viresh.kumar@linaro.org> To: tglx@linutronix.de Cc: linaro-kernel@lists.linaro.org, linux-kernel@vger.kernel.org, fweisbec@gmail.com, Arvind.Chauhan@arm.com, linaro-networking@linaro.org, Viresh Kumar <viresh.kumar@linaro.org> Subject: [PATCH 31/38] tick-sched: initialize 'ts' during its definition __tick_nohz_idle_enter() Date: Mon, 14 Apr 2014 21:53:53 +0530 Message-Id: <618f2788ea8cba3e40ede4c45a9b1fb662a58c59.1397492345.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 1.7.12.rc2.18.g61b472e In-Reply-To: <cover.1397492345.git.viresh.kumar@linaro.org> References: <cover.1397492345.git.viresh.kumar@linaro.org> In-Reply-To: <cover.1397492345.git.viresh.kumar@linaro.org> References: <cover.1397492345.git.viresh.kumar@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: viresh.kumar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) 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: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> |
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c index 22b9505..f1bc258 100644 --- a/kernel/time/tick-sched.c +++ b/kernel/time/tick-sched.c @@ -792,7 +792,7 @@ static void __tick_nohz_idle_enter(struct tick_sched *ts) */ void tick_nohz_idle_enter(void) { - struct tick_sched *ts; + struct tick_sched *ts = &__get_cpu_var(tick_cpu_sched); WARN_ON_ONCE(irqs_disabled()); @@ -806,7 +806,6 @@ void tick_nohz_idle_enter(void) local_irq_disable(); - ts = &__get_cpu_var(tick_cpu_sched); ts->inidle = 1; __tick_nohz_idle_enter(ts);
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> --- kernel/time/tick-sched.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)