cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

thermal.h (428B)


      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 */