diff options
author | John Stultz <johnstul@us.ibm.com> | 2010-03-18 20:19:27 -0700 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-03-23 17:19:37 +0100 |
commit | e1292ba164742e3a236e407148e00300b7196906 (patch) | |
tree | 67b924190ab7a64a64dad136de45932f8af1a970 | |
parent | 12b8aeee3e51654fb95a3baff2e093f2513bb87d (diff) | |
download | kernel_samsung_smdk4412-e1292ba164742e3a236e407148e00300b7196906.zip kernel_samsung_smdk4412-e1292ba164742e3a236e407148e00300b7196906.tar.gz kernel_samsung_smdk4412-e1292ba164742e3a236e407148e00300b7196906.tar.bz2 |
ntp: Make time_adjust static
Now that no arches are accessing time_adjust directly,
make it static.
Signed-off-by: John Stultz <johnstul@us.ibm.com>
LKML-Reference: <1268968769-19209-1-git-send-email-johnstul@us.ibm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | include/linux/timex.h | 1 | ||||
-rw-r--r-- | kernel/time/ntp.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/timex.h b/include/linux/timex.h index 7a082b3..e2de51e 100644 --- a/include/linux/timex.h +++ b/include/linux/timex.h @@ -238,7 +238,6 @@ extern int tickadj; /* amount of adjustment per tick */ * phase-lock loop variables */ extern int time_status; /* clock synchronization status bits */ -extern long time_adjust; /* The amount of adjtime left */ extern void ntp_init(void); extern void ntp_clear(void); diff --git a/kernel/time/ntp.c b/kernel/time/ntp.c index 7c0f180..c631168 100644 --- a/kernel/time/ntp.c +++ b/kernel/time/ntp.c @@ -69,7 +69,7 @@ static s64 time_freq; /* time at last adjustment (secs): */ static long time_reftime; -long time_adjust; +static long time_adjust; /* constant (boot-param configurable) NTP tick adjustment (upscaled) */ static s64 ntp_tick_adj; |