diff options
author | Borislav Petkov <bp@suse.de> | 2021-01-07 15:23:34 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-02-08 13:28:30 +0300 |
commit | 4f432e8bb15b352da72525144da025a46695968f (patch) | |
tree | 47e1ccdd93c2fa9b768a6979b81f377fc945cfd1 /arch/x86/include/asm | |
parent | 7bb39313cd6239e7eb95198950a02b4ad2a08316 (diff) | |
download | linux-4f432e8bb15b352da72525144da025a46695968f.tar.xz |
x86/mce: Get rid of mcheck_intel_therm_init()
Move the APIC_LVTTHMR read which needs to happen on the BSP, to
intel_init_thermal(). One less boot dependency.
No functional changes.
Signed-off-by: Borislav Petkov <bp@suse.de>
Tested-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Link: https://lkml.kernel.org/r/20210201142704.12495-2-bp@alien8.de
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r-- | arch/x86/include/asm/mce.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/include/asm/mce.h b/arch/x86/include/asm/mce.h index 56cdeaac76a0..def9aa5e1fa4 100644 --- a/arch/x86/include/asm/mce.h +++ b/arch/x86/include/asm/mce.h @@ -304,12 +304,6 @@ extern int (*platform_thermal_package_notify)(__u64 msr_val); * callback has rate control */ extern bool (*platform_thermal_package_rate_control)(void); -#ifdef CONFIG_X86_THERMAL_VECTOR -extern void mcheck_intel_therm_init(void); -#else -static inline void mcheck_intel_therm_init(void) { } -#endif - /* * Used by APEI to report memory error via /dev/mcelog */ |