Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762987AbZANPK7 (ORCPT ); Wed, 14 Jan 2009 10:10:59 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758084AbZANPKj (ORCPT ); Wed, 14 Jan 2009 10:10:39 -0500 Received: from casper.infradead.org ([85.118.1.10]:56624 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757593AbZANPKi (ORCPT ); Wed, 14 Jan 2009 10:10:38 -0500 Subject: [PATCH -tip] time-sched.c: tick_nohz_update_jiffies should be static From: Jaswinder Singh Rajput To: Ingo Molnar , Thomas Gleixner , LKML Content-Type: text/plain Date: Wed, 14 Jan 2009 20:38:17 +0530 Message-Id: <1231945697.3970.1.camel@jaswinder.satnam> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 (2.22.1-2.fc9) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1153 Lines: 33 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 --- 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/