summaryrefslogtreecommitdiff
path: root/kernel/timer.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-03-11 16:40:56 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-03-11 16:40:56 -0800
commit9d340cb7c38e0872b742890d76190cc3ac3cfd50 (patch)
treedfdeec48c5c8bbee1fc210402fb268d78d9d59ec /kernel/timer.c
parentaf942602d0cc67254c861ed1c9a4171ccd6e0e32 (diff)
[PATCH] Make lots of things static
This is a megarollup of ~60 patches which give various things static scope. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/timer.c')
-rw-r--r--kernel/timer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/timer.c b/kernel/timer.c
index 167f5b9e65bd..ecb3d67c0e14 100644
--- a/kernel/timer.c
+++ b/kernel/timer.c
@@ -589,10 +589,10 @@ long time_tolerance = MAXFREQ; /* frequency tolerance (ppm) */
long time_precision = 1; /* clock precision (us) */
long time_maxerror = NTP_PHASE_LIMIT; /* maximum error (us) */
long time_esterror = NTP_PHASE_LIMIT; /* estimated error (us) */
-long time_phase; /* phase offset (scaled us) */
+static long time_phase; /* phase offset (scaled us) */
long time_freq = (((NSEC_PER_SEC + HZ/2) % HZ - HZ/2) << SHIFT_USEC) / NSEC_PER_USEC;
/* frequency offset (scaled ppm)*/
-long time_adj; /* tick adjust (scaled 1 / HZ) */
+static long time_adj; /* tick adjust (scaled 1 / HZ) */
long time_reftime; /* time at last adjustment (s) */
long time_adjust;
long time_next_adjust;