[BACK]Return to pvclock.h CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs-all / include / asm-x86

File: [Development] / linux-2.6-xfs-all / include / asm-x86 / pvclock.h (download)

Revision 1.1, Mon Aug 4 17:03:13 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD

Merge up to 2.6.26
Merge of 2.6.x-xfs-melb:linux:31804b by kenmcd.

#ifndef _ASM_X86_PVCLOCK_H_
#define _ASM_X86_PVCLOCK_H_

#include <linux/clocksource.h>
#include <asm/pvclock-abi.h>

/* some helper functions for xen and kvm pv clock sources */
cycle_t pvclock_clocksource_read(struct pvclock_vcpu_time_info *src);
void pvclock_read_wallclock(struct pvclock_wall_clock *wall,
			    struct pvclock_vcpu_time_info *vcpu,
			    struct timespec *ts);

#endif /* _ASM_X86_PVCLOCK_H_ */