From bf5aeb0219d76d853c6dfe18c9cb4c4d861f1928 Mon Sep 17 00:00:00 2001 From: John Stultz Date: Tue, 4 Sep 2012 15:27:48 -0400 Subject: [PATCH] --- yaml --- r: 333873 b: refs/heads/master c: 189374aed657e2228ad6b39ece438c9cdafc8dae h: refs/heads/master i: 333871: e5ad334b609eeeaa6bd823419bbd7d6d13cd0349 v: v3 --- [refs] | 2 +- trunk/arch/ia64/kernel/time.c | 2 +- trunk/arch/powerpc/kernel/time.c | 2 +- trunk/arch/s390/kernel/time.c | 2 +- trunk/arch/x86/kernel/vsyscall_64.c | 2 +- trunk/include/linux/clocksource.h | 16 ---------------- trunk/include/linux/timekeeper_internal.h | 17 +++++++++++++++++ trunk/kernel/time.c | 2 +- 8 files changed, 23 insertions(+), 22 deletions(-) diff --git a/[refs] b/[refs] index 346bfe15d02b..2c6de377282d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d7b4202e0581683f1a14fe598633da0067f5241e +refs/heads/master: 189374aed657e2228ad6b39ece438c9cdafc8dae diff --git a/trunk/arch/ia64/kernel/time.c b/trunk/arch/ia64/kernel/time.c index ecc904b33c5f..acb688fe2354 100644 --- a/trunk/arch/ia64/kernel/time.c +++ b/trunk/arch/ia64/kernel/time.c @@ -19,7 +19,7 @@ #include #include #include -#include +#include #include #include diff --git a/trunk/arch/powerpc/kernel/time.c b/trunk/arch/powerpc/kernel/time.c index e49e93191b69..613a830d9d50 100644 --- a/trunk/arch/powerpc/kernel/time.c +++ b/trunk/arch/powerpc/kernel/time.c @@ -73,7 +73,7 @@ /* powerpc clocksource/clockevent code */ #include -#include +#include static cycle_t rtc_read(struct clocksource *); static struct clocksource clocksource_rtc = { diff --git a/trunk/arch/s390/kernel/time.c b/trunk/arch/s390/kernel/time.c index dcec960fc724..bfb62ad312a6 100644 --- a/trunk/arch/s390/kernel/time.c +++ b/trunk/arch/s390/kernel/time.c @@ -34,7 +34,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/trunk/arch/x86/kernel/vsyscall_64.c b/trunk/arch/x86/kernel/vsyscall_64.c index 8d141b309046..6ec8411a4710 100644 --- a/trunk/arch/x86/kernel/vsyscall_64.c +++ b/trunk/arch/x86/kernel/vsyscall_64.c @@ -28,7 +28,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/trunk/include/linux/clocksource.h b/trunk/include/linux/clocksource.h index fbe89e17124e..4dceaf8ae152 100644 --- a/trunk/include/linux/clocksource.h +++ b/trunk/include/linux/clocksource.h @@ -319,22 +319,6 @@ static inline void __clocksource_updatefreq_khz(struct clocksource *cs, u32 khz) __clocksource_updatefreq_scale(cs, 1000, khz); } -#ifdef CONFIG_GENERIC_TIME_VSYSCALL -extern void -update_vsyscall(struct timespec *ts, struct timespec *wtm, - struct clocksource *c, u32 mult); -extern void update_vsyscall_tz(void); -#else -static inline void -update_vsyscall(struct timespec *ts, struct timespec *wtm, - struct clocksource *c, u32 mult) -{ -} - -static inline void update_vsyscall_tz(void) -{ -} -#endif extern void timekeeping_notify(struct clocksource *clock); diff --git a/trunk/include/linux/timekeeper_internal.h b/trunk/include/linux/timekeeper_internal.h index 8ba43fa8c7e6..9c1c2cf413a6 100644 --- a/trunk/include/linux/timekeeper_internal.h +++ b/trunk/include/linux/timekeeper_internal.h @@ -65,4 +65,21 @@ struct timekeeper { /* Seqlock for all timekeeper values */ seqlock_t lock; }; + + +#ifdef CONFIG_GENERIC_TIME_VSYSCALL +extern void +update_vsyscall(struct timespec *ts, struct timespec *wtm, + struct clocksource *c, u32 mult); +extern void update_vsyscall_tz(void); +#else +static inline void update_vsyscall(struct timespec *ts, struct timespec *wtm, + struct clocksource *c, u32 mult) +{ +} +static inline void update_vsyscall_tz(void) +{ +} +#endif + #endif /* _LINUX_TIMEKEEPER_INTERNAL_H */ diff --git a/trunk/kernel/time.c b/trunk/kernel/time.c index ba744cf80696..d226c6a3fd28 100644 --- a/trunk/kernel/time.c +++ b/trunk/kernel/time.c @@ -30,7 +30,7 @@ #include #include #include -#include +#include #include #include #include