summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/pvclock-abi.h
diff options
context:
space:
mode:
authorGlauber Costa <glommer@redhat.com>2010-05-11 18:17:45 +0200
committerAvi Kivity <avi@redhat.com>2010-05-19 10:41:05 +0200
commit3a0d7256a6fb8c13f9fac6cd63250f97a8f0d8de (patch)
tree27a710b0f7e54c243382d47c290061699d0e755c /arch/x86/include/asm/pvclock-abi.h
parentx86: KVM guest: Try using new kvm clock msrs (diff)
downloadlinux-3a0d7256a6fb8c13f9fac6cd63250f97a8f0d8de.tar.xz
linux-3a0d7256a6fb8c13f9fac6cd63250f97a8f0d8de.zip
x86, paravirt: don't compute pvclock adjustments if we trust the tsc
If the HV told us we can fully trust the TSC, skip any correction Signed-off-by: Glauber Costa <glommer@redhat.com> Acked-by: Zachary Amsden <zamsden@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/pvclock-abi.h')
-rw-r--r--arch/x86/include/asm/pvclock-abi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/pvclock-abi.h b/arch/x86/include/asm/pvclock-abi.h
index ec5c41ac4bef..35f2d1948ada 100644
--- a/arch/x86/include/asm/pvclock-abi.h
+++ b/arch/x86/include/asm/pvclock-abi.h
@@ -39,5 +39,6 @@ struct pvclock_wall_clock {
u32 nsec;
} __attribute__((__packed__));
+#define PVCLOCK_TSC_STABLE_BIT (1 << 0)
#endif /* __ASSEMBLY__ */
#endif /* _ASM_X86_PVCLOCK_ABI_H */