]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - arch/x86/include/asm/pvclock.h
Merge branch 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[mirror_ubuntu-artful-kernel.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);
424c32f1 9void pvclock_set_flags(u8 flags);
3807f345 10unsigned long pvclock_tsc_khz(struct pvclock_vcpu_time_info *src);
7af192c9
GH
11void pvclock_read_wallclock(struct pvclock_wall_clock *wall,
12 struct pvclock_vcpu_time_info *vcpu,
13 struct timespec *ts);
14
1965aae3 15#endif /* _ASM_X86_PVCLOCK_H */