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
6void therm_lvt_init(void);
7void intel_init_thermal(struct cpuinfo_x86 *c);
8bool x86_thermal_enabled(void);
9void intel_thermal_interrupt(void);
10#else
11static inline void therm_lvt_init(void) { }
12static inline void intel_init_thermal(struct cpuinfo_x86 *c) { }
13#endif
14
15#endif /* _ASM_X86_THERMAL_H */
16

source code of linux/arch/x86/include/asm/thermal.h