blob: a71d2dbd36108118f9bde41139b3835f230489ab [file] [log] [blame]
Marcelo Tosattie0b306f2012-11-27 23:28:59 -02001#ifndef _PVCLOCK_GTOD_H
2#define _PVCLOCK_GTOD_H
3
4#include <linux/notifier.h>
5
David Vrabel780427f2013-06-27 11:35:46 +01006/*
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 */
Marcelo Tosattie0b306f2012-11-27 23:28:59 -020013extern 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 */