xref: /linux/arch/powerpc/kernel/trace/trace_clock.c (revision 253f68f413a87a4e2bd93e61b00410e5e1b7b774)
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3  *
4  * Copyright (C) 2015 Naveen N. Rao, IBM Corporation
5  */
6 
7 #include <asm/trace_clock.h>
8 #include <asm/time.h>
9 
10 u64 notrace trace_clock_ppc_tb(void)
11 {
12 	return get_tb();
13 }
14