Merge remote-tracking branch 'regulator/for-5.13' into regulator-linus
[linux-2.6-microblaze.git] / include / vdso / clocksource.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __VDSO_CLOCKSOURCE_H
3 #define __VDSO_CLOCKSOURCE_H
4
5 #include <vdso/limits.h>
6
7 #ifdef CONFIG_GENERIC_GETTIMEOFDAY
8 #include <asm/vdso/clocksource.h>
9 #endif /* CONFIG_GENERIC_GETTIMEOFDAY */
10
11 enum vdso_clock_mode {
12         VDSO_CLOCKMODE_NONE,
13 #ifdef CONFIG_GENERIC_GETTIMEOFDAY
14         VDSO_ARCH_CLOCKMODES,
15 #endif
16         VDSO_CLOCKMODE_MAX,
17
18         /* Indicator for time namespace VDSO */
19         VDSO_CLOCKMODE_TIMENS = INT_MAX
20 };
21
22 #endif /* __VDSO_CLOCKSOURCE_H */