Commit | Line | Data |
---|---|---|
77ef50a5 VN |
1 | #ifndef ASM_X86__PVCLOCK_H |
2 | #define ASM_X86__PVCLOCK_H | |
7af192c9 GH |
3 | |
4 | #include <linux/clocksource.h> | |
5 | #include <asm/pvclock-abi.h> | |
6 | ||
7 | /* some helper functions for xen and kvm pv clock sources */ | |
8 | cycle_t pvclock_clocksource_read(struct pvclock_vcpu_time_info *src); | |
9 | void pvclock_read_wallclock(struct pvclock_wall_clock *wall, | |
10 | struct pvclock_vcpu_time_info *vcpu, | |
11 | struct timespec *ts); | |
12 | ||
77ef50a5 | 13 | #endif /* ASM_X86__PVCLOCK_H */ |