x86/mm/pat: Don't report PAT on CPUs that don't support it
[linux/fpc-iii.git] / arch / x86 / include / asm / trace_clock.h
blobbeab86cc282de52aeef3f57b37a11c9005dcfae7
1 #ifndef _ASM_X86_TRACE_CLOCK_H
2 #define _ASM_X86_TRACE_CLOCK_H
4 #include <linux/compiler.h>
5 #include <linux/types.h>
7 #ifdef CONFIG_X86_TSC
9 extern u64 notrace trace_clock_x86_tsc(void);
11 # define ARCH_TRACE_CLOCKS \
12 { trace_clock_x86_tsc, "x86-tsc", .in_ns = 0 },
14 #else /* !CONFIG_X86_TSC */
16 #define ARCH_TRACE_CLOCKS
18 #endif
20 #endif /* _ASM_X86_TRACE_CLOCK_H */