aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/x86/include/asm/hyperv_timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/hyperv_timer.h')
-rw-r--r--arch/x86/include/asm/hyperv_timer.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/x86/include/asm/hyperv_timer.h b/arch/x86/include/asm/hyperv_timer.h
new file mode 100644
index 000000000000..388fa81b8f38
--- /dev/null
+++ b/arch/x86/include/asm/hyperv_timer.h
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _ASM_X86_HYPERV_TIMER_H
+#define _ASM_X86_HYPERV_TIMER_H
+
+#include <asm/msr.h>
+
+#define hv_get_raw_timer() rdtsc_ordered()
+
+#endif