diff options
Diffstat (limited to 'include/linux/timex.h')
| -rw-r--r-- | include/linux/timex.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/timex.h b/include/linux/timex.h index 34d3ccff7bbb..d543d3871e38 100644 --- a/include/linux/timex.h +++ b/include/linux/timex.h | |||
| @@ -57,7 +57,6 @@ | |||
| 57 | #include <linux/time.h> | 57 | #include <linux/time.h> |
| 58 | 58 | ||
| 59 | #include <asm/param.h> | 59 | #include <asm/param.h> |
| 60 | #include <asm/timex.h> | ||
| 61 | 60 | ||
| 62 | /* | 61 | /* |
| 63 | * SHIFT_KG and SHIFT_KF establish the damping of the PLL and are chosen | 62 | * SHIFT_KG and SHIFT_KF establish the damping of the PLL and are chosen |
| @@ -191,6 +190,8 @@ struct timex { | |||
| 191 | #define TIME_BAD TIME_ERROR /* bw compat */ | 190 | #define TIME_BAD TIME_ERROR /* bw compat */ |
| 192 | 191 | ||
| 193 | #ifdef __KERNEL__ | 192 | #ifdef __KERNEL__ |
| 193 | #include <asm/timex.h> | ||
| 194 | |||
| 194 | /* | 195 | /* |
| 195 | * kernel variables | 196 | * kernel variables |
| 196 | * Note: maximum error = NTP synch distance = dispersion + delay / 2; | 197 | * Note: maximum error = NTP synch distance = dispersion + delay / 2; |
| @@ -303,6 +304,8 @@ time_interpolator_reset(void) | |||
| 303 | 304 | ||
| 304 | #endif /* !CONFIG_TIME_INTERPOLATION */ | 305 | #endif /* !CONFIG_TIME_INTERPOLATION */ |
| 305 | 306 | ||
| 307 | #define TICK_LENGTH_SHIFT 32 | ||
| 308 | |||
| 306 | /* Returns how long ticks are at present, in ns / 2^(SHIFT_SCALE-10). */ | 309 | /* Returns how long ticks are at present, in ns / 2^(SHIFT_SCALE-10). */ |
| 307 | extern u64 current_tick_length(void); | 310 | extern u64 current_tick_length(void); |
| 308 | 311 | ||
