From: kbuild test robot <fengguang.wu@intel.com>
To: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Cc: kbuild-all@01.org, Ingo Molnar <mingo@redhat.com>,
Peter Zijlstra <peterz@infradead.org>,
linux-kernel@vger.kernel.org
Subject: [PATCH rcu] cpu: __pcpu_scope_cpu_dead_idle can be static
Date: Fri, 30 Jan 2015 08:43:07 +0800 [thread overview]
Message-ID: <20150130004307.GA56141@snb> (raw)
In-Reply-To: <201501300853.V9uY1YIW%fengguang.wu@intel.com>
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 <fengguang.wu@intel.com>
---
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
next prev parent reply other threads:[~2015-01-30 0:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-30 0:43 [rcu:rcu/dev 35/36] kernel/sched/idle.c:184:1: sparse: symbol '__pcpu_scope_cpu_dead_idle' was not declared. Should it be static? kbuild test robot
2015-01-30 0:43 ` kbuild test robot [this message]
2015-01-30 0:52 ` [PATCH rcu] cpu: __pcpu_scope_cpu_dead_idle can be static Paul E. McKenney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150130004307.GA56141@snb \
--to=fengguang.wu@intel.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=paulmck@linux.vnet.ibm.com \
--cc=peterz@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.