diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-29 17:16:48 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-29 17:16:48 -0400 |
| commit | bcd550745fc54f789c14e7526e0633222c505faa (patch) | |
| tree | c3fe11a6503b7ffdd4406a9fece5c40b3e2a3f6d /include/linux | |
| parent | 93f378883cecb9dcb2cf5b51d9d24175906659da (diff) | |
| parent | 646783a389828e76e813f50791f7999429c821bc (diff) | |
Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull timer core updates from Thomas Gleixner.
* 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
ia64: vsyscall: Add missing paranthesis
alarmtimer: Don't call rtc_timer_init() when CONFIG_RTC_CLASS=n
x86: vdso: Put declaration before code
x86-64: Inline vdso clock_gettime helpers
x86-64: Simplify and optimize vdso clock_gettime monotonic variants
kernel-time: fix s/then/than/ spelling errors
time: remove no_sync_cmos_clock
time: Avoid scary backtraces when warning of > 11% adj
alarmtimer: Make sure we initialize the rtctimer
ntp: Fix leap-second hrtimer livelock
x86, tsc: Skip refined tsc calibration on systems with reliable TSC
rtc: Provide flag for rtc devices that don't support UIE
ia64: vsyscall: Use seqcount instead of seqlock
x86: vdso: Use seqcount instead of seqlock
x86: vdso: Remove bogus locking in update_vsyscall_tz()
time: Remove bogus comments
time: Fix change_clocksource locking
time: x86: Fix race switching from vsyscall to non-vsyscall clock
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/rtc.h | 3 | ||||
| -rw-r--r-- | include/linux/time.h | 1 | ||||
| -rw-r--r-- | include/linux/timex.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/rtc.h b/include/linux/rtc.h index 93f4d035076b..fcabfb4873c8 100644 --- a/include/linux/rtc.h +++ b/include/linux/rtc.h | |||
| @@ -202,7 +202,8 @@ struct rtc_device | |||
| 202 | struct hrtimer pie_timer; /* sub second exp, so needs hrtimer */ | 202 | struct hrtimer pie_timer; /* sub second exp, so needs hrtimer */ |
| 203 | int pie_enabled; | 203 | int pie_enabled; |
| 204 | struct work_struct irqwork; | 204 | struct work_struct irqwork; |
| 205 | 205 | /* Some hardware can't support UIE mode */ | |
| 206 | int uie_unsupported; | ||
| 206 | 207 | ||
| 207 | #ifdef CONFIG_RTC_INTF_DEV_UIE_EMUL | 208 | #ifdef CONFIG_RTC_INTF_DEV_UIE_EMUL |
| 208 | struct work_struct uie_task; | 209 | struct work_struct uie_task; |
diff --git a/include/linux/time.h b/include/linux/time.h index b3061782dec3..97734e9409c6 100644 --- a/include/linux/time.h +++ b/include/linux/time.h | |||
| @@ -116,7 +116,6 @@ static inline struct timespec timespec_sub(struct timespec lhs, | |||
| 116 | extern void read_persistent_clock(struct timespec *ts); | 116 | extern void read_persistent_clock(struct timespec *ts); |
| 117 | extern void read_boot_clock(struct timespec *ts); | 117 | extern void read_boot_clock(struct timespec *ts); |
| 118 | extern int update_persistent_clock(struct timespec now); | 118 | extern int update_persistent_clock(struct timespec now); |
| 119 | extern int no_sync_cmos_clock __read_mostly; | ||
| 120 | void timekeeping_init(void); | 119 | void timekeeping_init(void); |
| 121 | extern int timekeeping_suspended; | 120 | extern int timekeeping_suspended; |
| 122 | 121 | ||
diff --git a/include/linux/timex.h b/include/linux/timex.h index b75e1864ed19..99bc88b1fc02 100644 --- a/include/linux/timex.h +++ b/include/linux/timex.h | |||
| @@ -252,7 +252,7 @@ extern void ntp_clear(void); | |||
| 252 | /* Returns how long ticks are at present, in ns / 2^NTP_SCALE_SHIFT. */ | 252 | /* Returns how long ticks are at present, in ns / 2^NTP_SCALE_SHIFT. */ |
| 253 | extern u64 ntp_tick_length(void); | 253 | extern u64 ntp_tick_length(void); |
| 254 | 254 | ||
| 255 | extern void second_overflow(void); | 255 | extern int second_overflow(unsigned long secs); |
| 256 | extern int do_adjtimex(struct timex *); | 256 | extern int do_adjtimex(struct timex *); |
| 257 | extern void hardpps(const struct timespec *, const struct timespec *); | 257 | extern void hardpps(const struct timespec *, const struct timespec *); |
| 258 | 258 | ||
