1 /* SPDX-License-Identifier: GPL-2.0 */ 1 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 */ 23
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.