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