]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blame - arch/x86/include/asm/clocksource.h
Linux 4.14-rc6
[mirror_ubuntu-focal-kernel.git] / arch / x86 / include / asm / clocksource.h
CommitLineData
433bd805
AL
1/* x86-specific clocksource additions */
2
3#ifndef _ASM_X86_CLOCKSOURCE_H
4#define _ASM_X86_CLOCKSOURCE_H
5
1ed95e52
AL
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. */
90b20432
VK
9#define VCLOCK_HVCLOCK 3 /* vDSO should use vread_hvclock. */
10#define VCLOCK_MAX 3
98d0ac38 11
433bd805 12struct arch_clocksource_data {
98d0ac38 13 int vclock_mode;
433bd805
AL
14};
15
433bd805 16#endif /* _ASM_X86_CLOCKSOURCE_H */