From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759371AbbA3AoT (ORCPT ); Thu, 29 Jan 2015 19:44:19 -0500 Received: from mga14.intel.com ([192.55.52.115]:56449 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758835AbbA3An7 (ORCPT ); Thu, 29 Jan 2015 19:43:59 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,862,1389772800"; d="scan'208";a="447280417" Date: Fri, 30 Jan 2015 08:43:07 +0800 From: kbuild test robot To: "Paul E. McKenney" Cc: kbuild-all@01.org, Ingo Molnar , Peter Zijlstra , linux-kernel@vger.kernel.org Subject: [PATCH rcu] cpu: __pcpu_scope_cpu_dead_idle can be static Message-ID: <20150130004307.GA56141@snb> References: <201501300853.V9uY1YIW%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201501300853.V9uY1YIW%fengguang.wu@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org kernel/sched/idle.c:184:1: sparse: symbol '__pcpu_scope_cpu_dead_idle' was not declared. Should it be static? Signed-off-by: Fengguang Wu --- idle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/idle.c b/kernel/sched/idle.c index 42b5102..41354cd 100644 --- a/kernel/sched/idle.c +++ b/kernel/sched/idle.c @@ -181,7 +181,7 @@ exit_idle: start_critical_timings(); } -DEFINE_PER_CPU(bool, cpu_dead_idle); +static DEFINE_PER_CPU(bool, cpu_dead_idle); /* * Generic idle loop implementation