summaryrefslogtreecommitdiff
path: root/arch/s390/include/asm/trace_clock.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/include/asm/trace_clock.h')
-rw-r--r--arch/s390/include/asm/trace_clock.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/s390/include/asm/trace_clock.h b/arch/s390/include/asm/trace_clock.h
new file mode 100644
index 000000000..273e05cbd
--- /dev/null
+++ b/arch/s390/include/asm/trace_clock.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _ASM_S390_TRACE_CLOCK_H
+#define _ASM_S390_TRACE_CLOCK_H
+
+#include <linux/compiler.h>
+#include <linux/types.h>
+
+u64 notrace trace_clock_s390_tod(void);
+
+#define ARCH_TRACE_CLOCKS \
+ { trace_clock_s390_tod, "s390-tod", .in_ns = 0 },
+
+#endif /* _ASM_S390_TRACE_CLOCK_H */