• J
    x86/hwmon: register alternate sibling upon CPU removal · e40cc4bd
    Jan Beulich 提交于
    Just like pkgtemp registers another core of the same package when one
    gets removed, coretemp should register another hyperthread (if
    available) in that situation.
    
    As pointed out in the patch fixing the respective code in pkgtemp, the
    list protectng mutex must be dropped before calling
    coretemp_device_add(), and due to the restructured loop (including an
    explicit return) the "safe" variant of the list iterator isn't needed
    anymore.
    Signed-off-by: NJan Beulich <jbeulich@novell.com>
    Cc: Rudolf Marek <r.marek@assembler.cz>
    Signed-off-by: NGuenter Roeck <guenter.roeck@ericsson.com>
    e40cc4bd
coretemp.c 14.3 KB