pvclock_gtod.h 509 B

1234567891011121314151617
  1. #ifndef _PVCLOCK_GTOD_H
  2. #define _PVCLOCK_GTOD_H
  3. #include <linux/notifier.h>
  4. /*
  5. * The pvclock gtod notifier is called when the system time is updated
  6. * and is used to keep guest time synchronized with host time.
  7. *
  8. * The 'action' parameter in the notifier function is false (0), or
  9. * true (non-zero) if system time was stepped.
  10. */
  11. extern int pvclock_gtod_register_notifier(struct notifier_block *nb);
  12. extern int pvclock_gtod_unregister_notifier(struct notifier_block *nb);
  13. #endif /* _PVCLOCK_GTOD_H */