162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 262306a36Sopenharmony_ci#ifndef _ASM_X86_THERMAL_H 362306a36Sopenharmony_ci#define _ASM_X86_THERMAL_H 462306a36Sopenharmony_ci 562306a36Sopenharmony_ci#ifdef CONFIG_X86_THERMAL_VECTOR 662306a36Sopenharmony_civoid therm_lvt_init(void); 762306a36Sopenharmony_civoid intel_init_thermal(struct cpuinfo_x86 *c); 862306a36Sopenharmony_cibool x86_thermal_enabled(void); 962306a36Sopenharmony_civoid intel_thermal_interrupt(void); 1062306a36Sopenharmony_ci#else 1162306a36Sopenharmony_cistatic inline void therm_lvt_init(void) { } 1262306a36Sopenharmony_cistatic inline void intel_init_thermal(struct cpuinfo_x86 *c) { } 1362306a36Sopenharmony_ci#endif 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_ci#endif /* _ASM_X86_THERMAL_H */ 16