Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Takao Indoh | 24cc12b | 2015-11-04 14:22:32 +0900 | [diff] [blame] | 2 | #ifndef _ASM_X86_INTEL_PT_H |
3 | #define _ASM_X86_INTEL_PT_H | ||||
4 | |||||
5 | #if defined(CONFIG_PERF_EVENTS) && defined(CONFIG_CPU_SUP_INTEL) | ||||
6 | void cpu_emergency_stop_pt(void); | ||||
7 | #else | ||||
8 | static inline void cpu_emergency_stop_pt(void) {} | ||||
9 | #endif | ||||
10 | |||||
11 | #endif /* _ASM_X86_INTEL_PT_H */ |