Skip to contentSkip to conversation

X86: Mark the Hyper-V clocksource as being continuous

PATCH RESEND In review K. Y. Srinivasan 3 participants 3 messages Jan 12, 2015 – Jan 20, 2015

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 X86: Mark the Hyper-V clocksource as being continuous

The Hyper-V clocksource is continuous; mark it accordingly.

---
 arch/x86/kernel/cpu/mshyperv.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/x86/kernel/cpu/mshyperv.c +1 -0
index a450373..939155f 100644
@@ -107,6 +107,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)
Signature · 1 line
1.7.4.1
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · K. Y. Srinivasan

The Hyper-V clocksource is continuous; mark it accordingly.

---
 arch/x86/kernel/cpu/mshyperv.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Quoted 21 lines
arch/x86/kernel/cpu/mshyperv.c +1 -0
index a450373..939155f 100644
@@ -107,6 +107,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)
Signature · 7 lines
1.7.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
#2 lore raw

[tip:x86/urgent] x86, hyperv: Mark the Hyper-V clocksource as being continuous

In reply to K. Y. Srinivasan
x86, hyperv: Mark the Hyper-V clocksource as being continuous
Commit-ID:  32c6590d126836a062b3140ed52d898507987017
Gitweb:     http://git.kernel.org/tip/32c6590d126836a062b3140ed52d898507987017
Author:     K. Y. Srinivasan <[email protected]>
AuthorDate: Mon, 12 Jan 2015 16:26:02 -0800
Committer:  Thomas Gleixner <[email protected]>
CommitDate: Tue, 20 Jan 2015 14:36:25 +0100

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

The Hyper-V clocksource is continuous; mark it accordingly.

---
 arch/x86/kernel/cpu/mshyperv.c | 1 +
 1 file changed, 1 insertion(+)
arch/x86/kernel/cpu/mshyperv.c +1 -0
index a450373..939155f 100644
@@ -107,6 +107,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)