Messages in this thread Patch in this message | | | Date | Sat, 24 Jan 2015 10:44:57 +0800 | From | kbuild test robot <> | Subject | [PATCH clk] sched: __pcpu_scope_sd_pack_buddy can be static |
| |
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@intel.com> --- 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, };
| |