hc
2024-05-10 61598093bbdd283a7edc367d900f223070ead8d2
kernel/kernel/time/timekeeping_internal.h
....@@ -1,12 +1,14 @@
11 /* SPDX-License-Identifier: GPL-2.0 */
22 #ifndef _TIMEKEEPING_INTERNAL_H
33 #define _TIMEKEEPING_INTERNAL_H
4
+
5
+#include <linux/clocksource.h>
6
+#include <linux/spinlock.h>
7
+#include <linux/time.h>
8
+
49 /*
510 * timekeeping debug functions
611 */
7
-#include <linux/clocksource.h>
8
-#include <linux/time.h>
9
-
1012 #ifdef CONFIG_DEBUG_FS
1113 extern void tk_debug_account_sleep_time(const struct timespec64 *t);
1214 #else
....@@ -31,4 +33,7 @@
3133 }
3234 #endif
3335
36
+/* Semi public for serialization of non timekeeper VDSO updates. */
37
+extern raw_spinlock_t timekeeper_lock;
38
+
3439 #endif /* _TIMEKEEPING_INTERNAL_H */