clocksource.h 412 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. struct arch_clocksource_data {
  9. int vclock_mode;
  10. };
  11. #endif /* CONFIG_X86_64 */
  12. #endif /* _ASM_X86_CLOCKSOURCE_H */