From: Adrian Bunk <bunk@stusta.de>
To: Andrew Morton <akpm@osdl.org>, john stultz <johnstul@us.ibm.com>
Cc: linux-kernel@vger.kernel.org
Subject: [-mm patch] kernel/timer.c: make some variables static
Date: Fri, 3 Feb 2006 21:59:29 +0100 [thread overview]
Message-ID: <20060203205929.GJ4408@stusta.de> (raw)
In-Reply-To: <20060203000704.3964a39f.akpm@osdl.org>
On Fri, Feb 03, 2006 at 12:07:04AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.15-mm4:
>...
> +time-reduced-ntp-rework-part-2.patch
>...
> Bring back John's time-reqork patches. New, improved, fixed.
>...
This patch makes some needlessly global variables static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
kernel/timer.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
--- linux-2.6.16-rc1-mm5-full/kernel/timer.c.old 2006-02-03 20:05:54.000000000 +0100
+++ linux-2.6.16-rc1-mm5-full/kernel/timer.c 2006-02-03 20:07:35.000000000 +0100
@@ -590,12 +590,12 @@
long time_reftime; /* time at last adjustment (s) */
long time_adjust;
long time_next_adjust;
-long time_adjust_step; /* per tick time_adjust step */
+static long time_adjust_step; /* per tick time_adjust step */
-long total_sppm; /* shifted ppm sum of all adjustments */
-long offset_adj_ppm;
-long tick_adj_ppm;
-long singleshot_adj_ppm;
+static long total_sppm; /* shifted ppm sum of all adjustments */
+static long offset_adj_ppm;
+static long tick_adj_ppm;
+static long singleshot_adj_ppm;
#define MAX_SINGLESHOT_ADJ 500 /* (ppm) */
#define SEC_PER_DAY 86400
next prev parent reply other threads:[~2006-02-03 20:59 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-03 8:07 2.6.16-rc1-mm5 Andrew Morton
2006-02-03 10:17 ` 2.6.16-rc1-mm5 Benoit Boissinot
2006-02-03 20:13 ` 2.6.16-rc1-mm5 Benoit Boissinot
2006-02-03 20:36 ` 2.6.16-rc1-mm5 Andrew Morton
2006-02-03 11:51 ` [-mm patch] Makefile: remove a tab from an empty line Adrian Bunk
2006-02-03 20:57 ` [-mm patch] kernel/time/timeofday.c: make struct ts_interval static Adrian Bunk
2006-02-03 21:50 ` john stultz
2006-02-03 20:59 ` Adrian Bunk [this message]
2006-02-03 21:02 ` [-mm patch] net/ipv4/fib_rules.c: make struct fib_rules static again Adrian Bunk
2006-02-04 23:51 ` David S. Miller
2006-02-03 21:09 ` [-mm patch] make some "struct clocksource" static Adrian Bunk
2006-02-03 21:12 ` [-mm patch] arch/i386/kernel/cpu/: make tons of functions static Adrian Bunk
2006-02-03 21:25 ` 2.6.16-rc1-mm5: drivers/ieee1394/oui O=... builds broken Adrian Bunk
2006-02-04 2:43 ` Jody McIntyre
2006-02-04 9:20 ` Sam Ravnborg
2006-02-04 9:08 ` Stefan Richter
2006-02-04 9:30 ` Stefan Richter
2006-02-04 9:31 ` Johannes Berg
2006-02-04 9:58 ` Stefan Richter
2006-02-06 4:31 ` Jody McIntyre
2006-02-04 7:59 ` 2.6.16-rc1-mm5 Matthias Urlichs
2006-02-04 9:29 ` 2.6.16-rc1-mm5 Sam Ravnborg
2006-02-04 9:36 ` 2.6.16-rc1-mm5 Andrew Morton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060203205929.GJ4408@stusta.de \
--to=bunk@stusta.de \
--cc=akpm@osdl.org \
--cc=johnstul@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.