Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _PVCLOCK_GTOD_H
0003 #define _PVCLOCK_GTOD_H
0004 
0005 #include <linux/notifier.h>
0006 
0007 /*
0008  * The pvclock gtod notifier is called when the system time is updated
0009  * and is used to keep guest time synchronized with host time.
0010  *
0011  * The 'action' parameter in the notifier function is false (0), or
0012  * true (non-zero) if system time was stepped.
0013  */
0014 extern int pvclock_gtod_register_notifier(struct notifier_block *nb);
0015 extern int pvclock_gtod_unregister_notifier(struct notifier_block *nb);
0016 
0017 #endif /* _PVCLOCK_GTOD_H */