hv: export current Hyper-V clocksource
authorVitaly Kuznetsov <vkuznets@redhat.com>
Sat, 4 Feb 2017 16:57:13 +0000 (09:57 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Feb 2017 14:40:19 +0000 (15:40 +0100)
commitdee863b571b0a76e9c549ee99e8782bb4bc6502b
treec3f69821e106090e79c5a3c7e030616d72cfacd5
parent9b06e1018abc65585b07c75c5b3f406dbabe7005
hv: export current Hyper-V clocksource

As a preparation to implementing Hyper-V PTP device supporting
.getcrosststamp we need to export a reference to the current Hyper-V
clocksource in use (MSR or TSC page).

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/hyperv/hv_init.c
arch/x86/include/asm/mshyperv.h