Merge tag 'pm-4.13-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
[linux/fpc-iii.git] / arch / x86 / include / asm / clocksource.h
blob47bea8cadbd0b6b7f39f9ef97f92037b63ce8c09
1 /* x86-specific clocksource additions */
3 #ifndef _ASM_X86_CLOCKSOURCE_H
4 #define _ASM_X86_CLOCKSOURCE_H
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_HVCLOCK 3 /* vDSO should use vread_hvclock. */
10 #define VCLOCK_MAX 3
12 struct arch_clocksource_data {
13 int vclock_mode;
16 #endif /* _ASM_X86_CLOCKSOURCE_H */