Commit 246b625243c5e2889e97098662ec069f1ebcac9d

Authored by K. Y. Srinivasan
Committed by Greg Kroah-Hartman
1 parent ec987a13d5

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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

arch/x86/kernel/cpu/mshyperv.c
... ... @@ -107,6 +107,7 @@
107 107 .rating = 400, /* use this when running on Hyperv*/
108 108 .read = read_hv_clock,
109 109 .mask = CLOCKSOURCE_MASK(64),
  110 + .flags = CLOCK_SOURCE_IS_CONTINUOUS,
110 111 };
111 112  
112 113 static void __init ms_hyperv_init_platform(void)