summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2012-02-15 19:29:18 (GMT)
committerThomas Gleixner <tglx@linutronix.de>2012-02-15 19:29:18 (GMT)
commit97ac984d2feec885d10f900591431088eab42021 (patch)
treee66e4e2ecb428d6ea45a6495b0675e3531ba23d1 /include
parent8682df25ca9afd3aac30f2c72d00bd98de2118e8 (diff)
parentcc06268c6a87db156af2daed6e96a936b955cc82 (diff)
downloadlinux-fsl-qoriq-97ac984d2feec885d10f900591431088eab42021.tar.xz
Merge branch 'fortglx/3.4/time' of git://git.linaro.org/people/jstultz/linux into timers/core
Diffstat (limited to 'include')
-rw-r--r--include/linux/timex.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/include/linux/timex.h b/include/linux/timex.h
index aa60fe7..b75e186 100644
--- a/include/linux/timex.h
+++ b/include/linux/timex.h
@@ -234,23 +234,9 @@ struct timex {
extern unsigned long tick_usec; /* USER_HZ period (usec) */
extern unsigned long tick_nsec; /* ACTHZ period (nsec) */
-/*
- * phase-lock loop variables
- */
-extern int time_status; /* clock synchronization status bits */
-
extern void ntp_init(void);
extern void ntp_clear(void);
-/**
- * ntp_synced - Returns 1 if the NTP status is not UNSYNC
- *
- */
-static inline int ntp_synced(void)
-{
- return !(time_status & STA_UNSYNC);
-}
-
/* Required to safely shift negative values */
#define shift_right(x, s) ({ \
__typeof__(x) __x = (x); \
@@ -264,10 +250,9 @@ static inline int ntp_synced(void)
#define NTP_INTERVAL_LENGTH (NSEC_PER_SEC/NTP_INTERVAL_FREQ)
/* Returns how long ticks are at present, in ns / 2^NTP_SCALE_SHIFT. */
-extern u64 tick_length;
+extern u64 ntp_tick_length(void);
extern void second_overflow(void);
-extern void update_ntp_one_tick(void);
extern int do_adjtimex(struct timex *);
extern void hardpps(const struct timespec *, const struct timespec *);