From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============0210354565637221228==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH zen] sched/alt: [Sync] 2f064a59a11f sched: Change task_struct:: __pcpu_scope_sched_cpu_topo_end_mask can be static Date: Tue, 28 Sep 2021 16:46:02 +0800 Message-ID: <20210928084602.GA79371@ed5697875ced> In-Reply-To: <202109281634.RSNJ4K1z-lkp@intel.com> List-Id: --===============0210354565637221228== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable kernel/sched/alt_core.c:121:1: warning: symbol '__pcpu_scope_sched_cpu_topo= _end_mask' was not declared. Should it be static? kernel/sched/alt_core.c:133:1: warning: symbol '__pcpu_scope_sd_llc_id' was= not declared. Should it be static? kernel/sched/alt_core.c:868:6: warning: symbol 'select_nohz_load_balancer' = was not declared. Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- kernel/sched/alt_core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/sched/alt_core.c b/kernel/sched/alt_core.c index 4909bf54bd4c1..829862214e46c 100644 --- a/kernel/sched/alt_core.c +++ b/kernel/sched/alt_core.c @@ -118,7 +118,7 @@ static cpumask_t sched_rq_pending_mask ____cacheline_al= igned_in_smp; = DEFINE_PER_CPU(cpumask_t [NR_CPU_AFFINITY_LEVELS], sched_cpu_topo_masks); DEFINE_PER_CPU(cpumask_t *, sched_cpu_llc_mask); -DEFINE_PER_CPU(cpumask_t *, sched_cpu_topo_end_mask); +static DEFINE_PER_CPU(cpumask_t *, sched_cpu_topo_end_mask); = #ifdef CONFIG_SCHED_SMT DEFINE_STATIC_KEY_FALSE(sched_smt_present); @@ -130,7 +130,7 @@ EXPORT_SYMBOL_GPL(sched_smt_present); * the domain), this allows us to quickly tell if two cpus are in the same= cache * domain, see cpus_share_cache(). */ -DEFINE_PER_CPU(int, sd_llc_id); +static DEFINE_PER_CPU(int, sd_llc_id); #endif /* CONFIG_SMP */ = static DEFINE_MUTEX(sched_hotcpu_mutex); @@ -865,7 +865,7 @@ void resched_cpu(int cpu) #ifdef CONFIG_NO_HZ_COMMON void nohz_balance_enter_idle(int cpu) {} = -void select_nohz_load_balancer(int stop_tick) {} +static void select_nohz_load_balancer(int stop_tick) {} = void set_cpu_sd_state_idle(void) {} = diff --git a/scripts/spdxcheck-test.sh b/scripts/spdxcheck-test.sh old mode 100644 new mode 100755 diff --git a/scripts/syscallnr.sh b/scripts/syscallnr.sh old mode 100644 new mode 100755 diff --git a/scripts/xen-hypercalls.sh b/scripts/xen-hypercalls.sh old mode 100644 new mode 100755 --===============0210354565637221228==--