Re: [RFC PATCH v6 4/7] time: Add mechanism to recognize clocksource in time_get_snapshot

From
Thomas Gleixner <hidden>
Date
2019-11-07 07:56:09
Also in
kvm, kvmarm, lkml, netdev
Reply to
Jianyong Wu, 2019-10-24
On Thu, 24 Oct 2019, Jianyong Wu wrote:
From: Thomas Gleixner <redacted>

In some scenario like return device time to ptp_kvm guest,
we need identify the current clocksource outside core time code.

This patch add a mechanism to recognize the current clocksource
by export clocksource id in time_get_snapshot.
Please check Documentation/process/submitting-patches.rst and search for
'This patch'.
quoted hunk ↗ jump to hunk
diff --git a/include/linux/clocksource.h b/include/linux/clocksource.h
index b21db536fd52..ac8016b22734 100644
--- a/include/linux/clocksource.h
+++ b/include/linux/clocksource.h
@@ -19,6 +19,7 @@
 #include <linux/of.h>
 #include <asm/div64.h>
 #include <asm/io.h>
+#include <linux/clocksource_ids.h>
Please place that include to the other linux includes. You might notice
that there is ordering here.

But where is that include? It's not part of that series, so how is this
supposed to compile?

Thanks,

	tglx

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Thread (13 messages) 13 messages, 2 authors, last reply 2019-11-08
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help