]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - include/linux/pvclock_gtod.h
firmware/psci: Expose SMCCC version through psci_ops
[mirror_ubuntu-artful-kernel.git] / include / linux / pvclock_gtod.h
CommitLineData
e0b306fe
MT
1#ifndef _PVCLOCK_GTOD_H
2#define _PVCLOCK_GTOD_H
3
4#include <linux/notifier.h>
5
780427f0
DV
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 */
e0b306fe
MT
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 */