mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-31 16:38:12 +00:00
9223d0dccb
This functionality has nothing to do with MCE, move it to the thermal framework and untangle it from MCE. Requested-by: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Borislav Petkov <bp@suse.de> Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Tested-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Link: https://lkml.kernel.org/r/20210202121003.GD18075@zn.tnic
13 lines
354 B
C
13 lines
354 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _ASM_X86_THERMAL_H
|
|
#define _ASM_X86_THERMAL_H
|
|
|
|
#ifdef CONFIG_X86_THERMAL_VECTOR
|
|
void intel_init_thermal(struct cpuinfo_x86 *c);
|
|
bool x86_thermal_enabled(void);
|
|
void intel_thermal_interrupt(void);
|
|
#else
|
|
static inline void intel_init_thermal(struct cpuinfo_x86 *c) { }
|
|
#endif
|
|
|
|
#endif /* _ASM_X86_THERMAL_H */
|