]> git.baikalelectronics.ru Git - kernel.git/commit
x86/hwmon: fix initialization of coretemp
authorJan Beulich <jbeulich@novell.com>
Fri, 24 Sep 2010 05:21:34 +0000 (22:21 -0700)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Fri, 24 Sep 2010 18:44:19 +0000 (11:44 -0700)
commit3362c9e766161b8bad6bb9996739641a52b8a49a
tree3ee17795bbcf7a057a032c41938103d7402ea302
parent755c3d21b8bb836046368b3dbd39819abfeff3f0
x86/hwmon: fix initialization of coretemp

Using cpuid_eax() to determine feature availability on other than
the current CPU is invalid. And feature availability should also be
checked in the hotplug code path.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Cc: Rudolf Marek <r.marek@assembler.cz>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
arch/x86/include/asm/cpufeature.h
arch/x86/kernel/cpu/scattered.c
drivers/hwmon/coretemp.c