xref: /linux/arch/powerpc/kernel/trace/trace_clock.c (revision 906fd46a65383cd639e5eec72a047efc33045d86)
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