mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
time: export time information for KVM pvclock
As suggested by John, export time data similarly to how its done by vsyscall support. This allows KVM to retrieve necessary information to implement vsyscall support in KVM guests. Acked-by: John Stultz <johnstul@us.ibm.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
This commit is contained in:
parent
886b470cb1
commit
e0b306fef9
2 changed files with 59 additions and 0 deletions
9
include/linux/pvclock_gtod.h
Normal file
9
include/linux/pvclock_gtod.h
Normal file
|
@ -0,0 +1,9 @@
|
|||
#ifndef _PVCLOCK_GTOD_H
|
||||
#define _PVCLOCK_GTOD_H
|
||||
|
||||
#include <linux/notifier.h>
|
||||
|
||||
extern int pvclock_gtod_register_notifier(struct notifier_block *nb);
|
||||
extern int pvclock_gtod_unregister_notifier(struct notifier_block *nb);
|
||||
|
||||
#endif /* _PVCLOCK_GTOD_H */
|
Loading…
Add table
Add a link
Reference in a new issue