diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2015-01-13 03:26:02 +0300 |
---|---|---|
committer | Zefan Li <lizefan@huawei.com> | 2015-04-14 12:33:55 +0300 |
commit | b447eaa7d22db0fee573a6f859fba2cdfbb6d92d (patch) | |
tree | 5f155450a4e7825bba3ae0aad60b2e66bf4f3cf2 /arch | |
parent | dc3aaeefea432f81d77abee575f5989f1858faac (diff) | |
download | linux-b447eaa7d22db0fee573a6f859fba2cdfbb6d92d.tar.xz |
x86, hyperv: Mark the Hyper-V clocksource as being continuous
commit 32c6590d126836a062b3140ed52d898507987017 upstream.
The Hyper-V clocksource is continuous; mark it accordingly.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Acked-by: jasowang@redhat.com
Cc: gregkh@linuxfoundation.org
Cc: devel@linuxdriverproject.org
Cc: olaf@aepfle.de
Cc: apw@canonical.com
Link: http://lkml.kernel.org/r/1421108762-3331-1-git-send-email-kys@microsoft.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Zefan Li <lizefan@huawei.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/cpu/mshyperv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/mshyperv.c b/arch/x86/kernel/cpu/mshyperv.c index 646d192b18a2..c465584c2517 100644 --- a/arch/x86/kernel/cpu/mshyperv.c +++ b/arch/x86/kernel/cpu/mshyperv.c @@ -55,6 +55,7 @@ static struct clocksource hyperv_cs = { .rating = 400, /* use this when running on Hyperv*/ .read = read_hv_clock, .mask = CLOCKSOURCE_MASK(64), + .flags = CLOCK_SOURCE_IS_CONTINUOUS, }; static void __init ms_hyperv_init_platform(void) |