x86/mm/pat: Don't report PAT on CPUs that don't support it
[linux/fpc-iii.git] / arch / x86 / include / asm / intel_pt.h
blobe1a411786bf576e6d3663286f82b608e8e9058a4
1 #ifndef _ASM_X86_INTEL_PT_H
2 #define _ASM_X86_INTEL_PT_H
4 #if defined(CONFIG_PERF_EVENTS) && defined(CONFIG_CPU_SUP_INTEL)
5 void cpu_emergency_stop_pt(void);
6 #else
7 static inline void cpu_emergency_stop_pt(void) {}
8 #endif
10 #endif /* _ASM_X86_INTEL_PT_H */