Commit c89368de authored by K. Y. Srinivasan's avatar K. Y. Srinivasan Committed by Jiri Slaby

x86, hyperv: Mark the Hyper-V clocksource as being continuous

commit 32c6590d upstream.

The Hyper-V clocksource is continuous; mark it accordingly.
Signed-off-by: default avatarK. 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.comSigned-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
parent 121be0f4
...@@ -63,6 +63,7 @@ static struct clocksource hyperv_cs = { ...@@ -63,6 +63,7 @@ static struct clocksource hyperv_cs = {
.rating = 400, /* use this when running on Hyperv*/ .rating = 400, /* use this when running on Hyperv*/
.read = read_hv_clock, .read = read_hv_clock,
.mask = CLOCKSOURCE_MASK(64), .mask = CLOCKSOURCE_MASK(64),
.flags = CLOCK_SOURCE_IS_CONTINUOUS,
}; };
static void __init ms_hyperv_init_platform(void) static void __init ms_hyperv_init_platform(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment