aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2017-01-24 15:09:41 -0200
committerPaolo Bonzini <pbonzini@redhat.com>2017-02-08 17:16:19 +0100
commitf4066c2bc4d0de4e5dcbff21dae41e89fe8f38c0 (patch)
tree25643404c3a0752b78f2a1ab8aad2c0e0bbe97f4 /arch/x86/include
parentKVM: x86: fix compilation (diff)
downloadlinux-dev-f4066c2bc4d0de4e5dcbff21dae41e89fe8f38c0.tar.xz
linux-dev-f4066c2bc4d0de4e5dcbff21dae41e89fe8f38c0.zip
kvmclock: export kvmclock clocksource and data pointers
To be used by KVM PTP driver. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/kvmclock.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvmclock.h b/arch/x86/include/asm/kvmclock.h
new file mode 100644
index 000000000000..f260bef63591
--- /dev/null
+++ b/arch/x86/include/asm/kvmclock.h
@@ -0,0 +1,6 @@
+#ifndef _ASM_X86_KVM_CLOCK_H
+#define _ASM_X86_KVM_CLOCK_H
+
+extern struct clocksource kvm_clock;
+
+#endif /* _ASM_X86_KVM_CLOCK_H */