locking/refcounts: Include fewer headers in <linux/refcount.h>
[linux/fpc-iii.git] / arch / x86 / include / asm / trace_clock.h
blob7061a5650969ec1b6165293685180dc567a10318
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_X86_TRACE_CLOCK_H
3 #define _ASM_X86_TRACE_CLOCK_H
5 #include <linux/compiler.h>
6 #include <linux/types.h>
8 #ifdef CONFIG_X86_TSC
10 extern u64 notrace trace_clock_x86_tsc(void);
12 # define ARCH_TRACE_CLOCKS \
13 { trace_clock_x86_tsc, "x86-tsc", .in_ns = 0 },
15 #else /* !CONFIG_X86_TSC */
17 #define ARCH_TRACE_CLOCKS
19 #endif
21 #endif /* _ASM_X86_TRACE_CLOCK_H */