From d7d7f393945e09073883cfd1b09988c4b2325961 Mon Sep 17 00:00:00 2001 From: Alastair Poole Date: Wed, 14 Oct 2020 18:28:56 +0100 Subject: [PATCH] cpu: find a pie in the sky. --- src/bin/system/machine/cpu.bogox | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bin/system/machine/cpu.bogox b/src/bin/system/machine/cpu.bogox index 5fbd131..d820810 100644 --- a/src/bin/system/machine/cpu.bogox +++ b/src/bin/system/machine/cpu.bogox @@ -341,7 +341,7 @@ _coretemp_init(void) } static void -_k10_init(void) +_generic_init(void) { int i, cpu_count = system_cpu_count_get(); @@ -359,7 +359,8 @@ system_cpu_n_temperature_get(int n) thermal_drv drivers[] = { { "coretemp", _coretemp_init, 0, 100 }, - { "k10temp", _k10_init, 0, 100 }, + { "k10temp", _generic_init, 0, 100 }, + { "cpu_thermal", _generic_init, 0, 100 }, }; if (!init)