clocksource.h 474 B

12345678910111213141516171819
  1. /* x86-specific clocksource additions */
  2. #ifndef _ASM_X86_CLOCKSOURCE_H
  3. #define _ASM_X86_CLOCKSOURCE_H
  4. #ifdef CONFIG_X86_64
  5. #define VCLOCK_NONE 0 /* No vDSO clock available. */
  6. #define VCLOCK_TSC 1 /* vDSO should use vread_tsc. */
  7. #define VCLOCK_HPET 2 /* vDSO should use vread_hpet. */
  8. #define VCLOCK_PVCLOCK 3 /* vDSO should use vread_pvclock. */
  9. struct arch_clocksource_data {
  10. int vclock_mode;
  11. };
  12. #endif /* CONFIG_X86_64 */
  13. #endif /* _ASM_X86_CLOCKSOURCE_H */