xref: /linux/arch/powerpc/kernel/trace/trace_clock.c (revision 75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37)
1*d2912cb1SThomas Gleixner // SPDX-License-Identifier: GPL-2.0-only
27853f9c0SNaveen N. Rao /*
37853f9c0SNaveen N. Rao  *
47853f9c0SNaveen N. Rao  * Copyright (C) 2015 Naveen N. Rao, IBM Corporation
57853f9c0SNaveen N. Rao  */
67853f9c0SNaveen N. Rao 
77853f9c0SNaveen N. Rao #include <asm/trace_clock.h>
87853f9c0SNaveen N. Rao #include <asm/time.h>
97853f9c0SNaveen N. Rao 
trace_clock_ppc_tb(void)107853f9c0SNaveen N. Rao u64 notrace trace_clock_ppc_tb(void)
117853f9c0SNaveen N. Rao {
127853f9c0SNaveen N. Rao 	return get_tb();
137853f9c0SNaveen N. Rao }
14