xref: /linux/arch/s390/kernel/trace_clock.c (revision a9e99b860fb6dfdc9a17d7c63b84fd5647f1f44c)
1 // SPDX-License-Identifier: GPL-2.0
2 #include <linux/trace_clock.h>
3 #include <linux/timex.h>
4 /*
5  * trace_clock_s390_tod(): trace clock based on the s390 TOD clock
6  *
7  * Unlike the other clocks, this is not in nanoseconds.
8  */
9 u64 notrace trace_clock_s390_tod(void)
10 {
11 	return get_tod_clock();
12 }
13