time: Move update_vsyscall definitions to timekeeper_internal.h
[pandora-kernel.git] / include / linux / timekeeper_internal.h
index 8ba43fa..9c1c2cf 100644 (file)
@@ -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 */