* [PATCH -tip] time-sched.c: tick_nohz_update_jiffies should be static
@ 2009-01-14 15:08 Jaswinder Singh Rajput
2009-01-15 11:07 ` Ingo Molnar
0 siblings, 1 reply; 2+ messages in thread
From: Jaswinder Singh Rajput @ 2009-01-14 15:08 UTC (permalink / raw)
To: Ingo Molnar, Thomas Gleixner, LKML
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>
---
kernel/time/tick-sched.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c
index 1b6c05b..d3f1ef4 100644
--- a/kernel/time/tick-sched.c
+++ b/kernel/time/tick-sched.c
@@ -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);
--
1.6.0.6
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH -tip] time-sched.c: tick_nohz_update_jiffies should be static
2009-01-14 15:08 [PATCH -tip] time-sched.c: tick_nohz_update_jiffies should be static Jaswinder Singh Rajput
@ 2009-01-15 11:07 ` Ingo Molnar
0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2009-01-15 11:07 UTC (permalink / raw)
To: Jaswinder Singh Rajput; +Cc: Thomas Gleixner, LKML
* Jaswinder Singh Rajput <jaswinder@infradead.org> wrote:
> 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>
> ---
> kernel/time/tick-sched.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
applied to tip/timers/urgent, thanks Jaswinder!
Ingo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-01-15 11:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-14 15:08 [PATCH -tip] time-sched.c: tick_nohz_update_jiffies should be static Jaswinder Singh Rajput
2009-01-15 11:07 ` Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox