Merge commit 'gcl/next' into next
[linux-2.6-block.git] / arch / x86 / include / asm / pvclock.h
CommitLineData
1965aae3
PA
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 */
8cycle_t pvclock_clocksource_read(struct pvclock_vcpu_time_info *src);
3807f345 9unsigned long pvclock_tsc_khz(struct pvclock_vcpu_time_info *src);
7af192c9
GH
10void pvclock_read_wallclock(struct pvclock_wall_clock *wall,
11 struct pvclock_vcpu_time_info *vcpu,
12 struct timespec *ts);
13
1965aae3 14#endif /* _ASM_X86_PVCLOCK_H */