[PATCH clk] sched: __pcpu_scope_sd_pack_buddy can be static

From: kbuild test robot
Date: Fri Jan 23 2015 - 21:45:41 EST


kernel/sched/fair.c:199:1: sparse: symbol '__pcpu_scope_sd_pack_buddy' was not declared. Should it be static?

Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
---
fair.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index d48d07c..7d8d5c4 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -196,7 +196,7 @@ struct sd_pack {
* Save per_cpu information about the optimal CPUs that should be used to pack
* tasks.
*/
-DEFINE_PER_CPU(struct sd_pack, sd_pack_buddy) = {
+static DEFINE_PER_CPU(struct sd_pack, sd_pack_buddy) = {
.packing = true,
};

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/