Commit | Line | Data |
---|---|---|
433bd805 AL |
1 | /* x86-specific clocksource additions */ |
2 | ||
3 | #ifndef _ASM_X86_CLOCKSOURCE_H | |
4 | #define _ASM_X86_CLOCKSOURCE_H | |
5 | ||
98d0ac38 AL |
6 | #define VCLOCK_NONE 0 /* No vDSO clock available. */ |
7 | #define VCLOCK_TSC 1 /* vDSO should use vread_tsc. */ | |
8 | #define VCLOCK_HPET 2 /* vDSO should use vread_hpet. */ | |
71056ae2 | 9 | #define VCLOCK_PVCLOCK 3 /* vDSO should use vread_pvclock. */ |
98d0ac38 | 10 | |
433bd805 | 11 | struct arch_clocksource_data { |
98d0ac38 | 12 | int vclock_mode; |
433bd805 AL |
13 | }; |
14 | ||
433bd805 | 15 | #endif /* _ASM_X86_CLOCKSOURCE_H */ |