aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/trace_clock.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/include/asm/trace_clock.h')
-rw-r--r--arch/powerpc/include/asm/trace_clock.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/trace_clock.h b/arch/powerpc/include/asm/trace_clock.h
new file mode 100644
index 000000000000..cf1ee75ca069
--- /dev/null
+++ b/arch/powerpc/include/asm/trace_clock.h
@@ -0,0 +1,19 @@
1/*
2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License, version 2, as
4 * published by the Free Software Foundation.
5 *
6 * Copyright (C) 2015 Naveen N. Rao, IBM Corporation
7 */
8
9#ifndef _ASM_PPC_TRACE_CLOCK_H
10#define _ASM_PPC_TRACE_CLOCK_H
11
12#include <linux/compiler.h>
13#include <linux/types.h>
14
15extern u64 notrace trace_clock_ppc_tb(void);
16
17#define ARCH_TRACE_CLOCKS { trace_clock_ppc_tb, "ppc-tb", 0 },
18
19#endif /* _ASM_PPC_TRACE_CLOCK_H */