time-sched.c: tick_nohz_update_jiffies should be static
authorJaswinder Singh Rajput <jaswinder@infradead.org>
Wed, 14 Jan 2009 15:08:17 +0000 (20:38 +0530)
committerIngo Molnar <mingo@elte.hu>
Thu, 15 Jan 2009 11:06:56 +0000 (12:06 +0100)
Impact: cleanup, reduce kernel size a bit, avoid sparse warning

Fixes sparse warning:

 kernel/time/tick-sched.c:137:6: warning: symbol 'tick_nohz_update_jiffies' was not declared. Should it be static?

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/time/tick-sched.c

index 1b6c05b..d3f1ef4 100644 (file)
@@ -134,7 +134,7 @@ __setup("nohz=", setup_tick_nohz);
  * value. We do this unconditionally on any cpu, as we don't know whether the
  * cpu, which has the update task assigned is in a long sleep.
  */
-void tick_nohz_update_jiffies(void)
+static void tick_nohz_update_jiffies(void)
 {
        int cpu = smp_processor_id();
        struct tick_sched *ts = &per_cpu(tick_cpu_sched, cpu);