xref: /linux/arch/x86/include/asm/clocksource.h (revision e5c86679d5e864947a52fb31e45a425dea3e7fa9)
1 /* x86-specific clocksource additions */
2 
3 #ifndef _ASM_X86_CLOCKSOURCE_H
4 #define _ASM_X86_CLOCKSOURCE_H
5 
6 #define VCLOCK_NONE	0	/* No vDSO clock available.		*/
7 #define VCLOCK_TSC	1	/* vDSO should use vread_tsc.		*/
8 #define VCLOCK_PVCLOCK	2	/* vDSO should use vread_pvclock.	*/
9 #define VCLOCK_MAX	2
10 
11 struct arch_clocksource_data {
12 	int vclock_mode;
13 };
14 
15 #endif /* _ASM_X86_CLOCKSOURCE_H */
16