pvclock.h (84a73014d86fd660822a20c032625e3afe99ca58) pvclock.h (dac16fba6fc590fa7239676b35ed75dae4c4cd2b)
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
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#ifdef CONFIG_PARAVIRT_CLOCK
8extern struct pvclock_vsyscall_time_info *pvclock_pvti_cpu0_va(void);
9#else
10static inline struct pvclock_vsyscall_time_info *pvclock_pvti_cpu0_va(void)
11{
12 return NULL;
13}
14#endif
15
7/* some helper functions for xen and kvm pv clock sources */
8cycle_t pvclock_clocksource_read(struct pvclock_vcpu_time_info *src);
9u8 pvclock_read_flags(struct pvclock_vcpu_time_info *src);
10void pvclock_set_flags(u8 flags);
11unsigned long pvclock_tsc_khz(struct pvclock_vcpu_time_info *src);
12void pvclock_read_wallclock(struct pvclock_wall_clock *wall,
13 struct pvclock_vcpu_time_info *vcpu,
14 struct timespec *ts);

--- 86 unchanged lines hidden ---
16/* some helper functions for xen and kvm pv clock sources */
17cycle_t pvclock_clocksource_read(struct pvclock_vcpu_time_info *src);
18u8 pvclock_read_flags(struct pvclock_vcpu_time_info *src);
19void pvclock_set_flags(u8 flags);
20unsigned long pvclock_tsc_khz(struct pvclock_vcpu_time_info *src);
21void pvclock_read_wallclock(struct pvclock_wall_clock *wall,
22 struct pvclock_vcpu_time_info *vcpu,
23 struct timespec *ts);

--- 86 unchanged lines hidden ---