| 1 | /* SPDX-License-Identifier: GPL-2.0 */ | 
|---|---|
| 2 | #ifndef _ASM_X86_THERMAL_H | 
| 3 | #define _ASM_X86_THERMAL_H | 
| 4 | |
| 5 | #ifdef CONFIG_X86_THERMAL_VECTOR | 
| 6 | void therm_lvt_init(void); | 
| 7 | void intel_init_thermal(struct cpuinfo_x86 *c); | 
| 8 | bool x86_thermal_enabled(void); | 
| 9 | void intel_thermal_interrupt(void); | 
| 10 | #else | 
| 11 | static inline void therm_lvt_init(void) { } | 
| 12 | static inline void intel_init_thermal(struct cpuinfo_x86 *c) { } | 
| 13 | #endif | 
| 14 | |
| 15 | #endif /* _ASM_X86_THERMAL_H */ | 
| 16 | 
