[RFC PATCH ammarfaizi2-block] EXP timers: __pcpu_scope_tick_setup_sched_timer_help_needed can be static

kernel test robot posted 1 patch 4 years, 5 months ago
tick-sched.c |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[RFC PATCH ammarfaizi2-block] EXP timers: __pcpu_scope_tick_setup_sched_timer_help_needed can be static
Posted by kernel test robot 4 years, 5 months ago
kernel/time/tick-sched.c:1453:1: warning: symbol '__pcpu_scope_tick_setup_sched_timer_help_needed' was not declared. Should it be static?

Fixes: 3cda34a0004e ("EXP timers: Non-nohz_full last-resort jiffies update on IRQ entry")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---
 tick-sched.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c
index 8790cd4834887c..1af62743be63e8 100644
--- a/kernel/time/tick-sched.c
+++ b/kernel/time/tick-sched.c
@@ -1450,7 +1450,7 @@ early_param("skew_tick", skew_tick);
 
 static DEFINE_PER_CPU(unsigned long, tick_setup_sched_timer_jiffies);
 static DEFINE_PER_CPU(int, tick_setup_sched_timer_jiffies_count);
-DEFINE_PER_CPU(bool, tick_setup_sched_timer_help_needed);
+static DEFINE_PER_CPU(bool, tick_setup_sched_timer_help_needed);
 
 /**
  * tick_setup_sched_timer - setup the tick emulation timer