xref: /linux/arch/x86/include/asm/thermal.h (revision 8be98d2f2a0a262f8bf8a0bc1fdf522b3c7aab17)
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
therm_lvt_init(void)11 static inline void therm_lvt_init(void)				{ }
intel_init_thermal(struct cpuinfo_x86 * c)12 static inline void intel_init_thermal(struct cpuinfo_x86 *c)	{ }
13 #endif
14 
15 #endif /* _ASM_X86_THERMAL_H */
16