xref: /linux/arch/powerpc/kernel/trace/trace_clock.c (revision 75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37)
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 
trace_clock_ppc_tb(void)10 u64 notrace trace_clock_ppc_tb(void)
11 {
12 	return get_tb();
13 }
14