Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec...
[linux-2.6/btrfs-unstable.git] / include / linux / pvclock_gtod.h
blobf63549581f3e18a048fdd99208bd2130ff78a2f5
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _PVCLOCK_GTOD_H
3 #define _PVCLOCK_GTOD_H
5 #include <linux/notifier.h>
7 /*
8 * The pvclock gtod notifier is called when the system time is updated
9 * and is used to keep guest time synchronized with host time.
11 * The 'action' parameter in the notifier function is false (0), or
12 * true (non-zero) if system time was stepped.
14 extern int pvclock_gtod_register_notifier(struct notifier_block *nb);
15 extern int pvclock_gtod_unregister_notifier(struct notifier_block *nb);
17 #endif /* _PVCLOCK_GTOD_H */