[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150130004307.GA56141@snb>
Date: Fri, 30 Jan 2015 08:43:07 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
Cc: kbuild-all@...org, Ingo Molnar <mingo@...hat.com>,
Peter Zijlstra <peterz@...radead.org>,
linux-kernel@...r.kernel.org
Subject: [PATCH rcu] cpu: __pcpu_scope_cpu_dead_idle can be static
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@...el.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists