]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blob - arch/x86/include/asm/pvclock.h
ad29e277fd6d6dd9d114e33b6113c42d03bf5d2c
[linux-2.6-omap-h63xx.git] / arch / x86 / include / asm / pvclock.h
1 #ifndef ASM_X86__PVCLOCK_H
2 #define ASM_X86__PVCLOCK_H
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 unsigned long pvclock_tsc_khz(struct pvclock_vcpu_time_info *src);
10 void pvclock_read_wallclock(struct pvclock_wall_clock *wall,
11                             struct pvclock_vcpu_time_info *vcpu,
12                             struct timespec *ts);
13
14 #endif /* ASM_X86__PVCLOCK_H */