xref: /linux/kernel/time/namespace_internal.h (revision 5dc9cf835aba73c882348aa4f99be83b6e45ad9b)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _TIME_NAMESPACE_INTERNAL_H
3 #define _TIME_NAMESPACE_INTERNAL_H
4 
5 #include <linux/mutex.h>
6 
7 /*
8  * Protects possibly multiple offsets writers racing each other
9  * and tasks entering the namespace.
10  */
11 extern struct mutex timens_offset_lock;
12 
13 #endif /* _TIME_NAMESPACE_INTERNAL_H */
14