blob: 0bdbbb3b9ce70545337d86b68c269867d6075384 [file] [log] [blame]
Andy Lutomirski433bd802011-07-13 09:24:13 -04001/* x86-specific clocksource additions */
2
3#ifndef _ASM_X86_CLOCKSOURCE_H
4#define _ASM_X86_CLOCKSOURCE_H
5
6#ifdef CONFIG_X86_64
7
Andy Lutomirski98d0ac32011-07-14 06:47:22 -04008#define VCLOCK_NONE 0 /* No vDSO clock available. */
9#define VCLOCK_TSC 1 /* vDSO should use vread_tsc. */
10#define VCLOCK_HPET 2 /* vDSO should use vread_hpet. */
11
Andy Lutomirski433bd802011-07-13 09:24:13 -040012struct arch_clocksource_data {
Andy Lutomirski98d0ac32011-07-14 06:47:22 -040013 int vclock_mode;
Andy Lutomirski433bd802011-07-13 09:24:13 -040014};
15
16#endif /* CONFIG_X86_64 */
17
18#endif /* _ASM_X86_CLOCKSOURCE_H */