Revision 0eb9782ad9b1bd496ba61cd5ea27ccb8db21e885 authored by Jean Delvare on 28 September 2011, 15:11:00 UTC, committed by Guenter Roeck on 28 September 2011, 15:19:20 UTC
With recent change "hwmon: (coretemp) don't use kernel assigned CPU
number as platform device ID", the microcode check is now running on
random CPU. Fix that by checking the microcode before creating the
platform device rather than at probe time.

Also avoid calling TO_PHYS_ID(cpu) twice in the same function, it's
expensive.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Jan Beulich <jbeulich@suse.com>
Cc: Guenter Roeck <guenter.roeck@ericsson.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
1 parent a102a9e
History
File Mode Size
.gitignore -rw-r--r-- 6 bytes
3CCFEM556.cis.ihex -rw-r--r-- 469 bytes
3CXEM556.cis.ihex -rw-r--r-- 463 bytes
COMpad2.cis.ihex -rw-r--r-- 363 bytes
COMpad4.cis.ihex -rw-r--r-- 276 bytes
DP83903.cis.ihex -rw-r--r-- 499 bytes
LA-PCM.cis.ihex -rw-r--r-- 758 bytes
MT5634ZLX.cis.ihex -rw-r--r-- 363 bytes
NE2K.cis.ihex -rw-r--r-- 233 bytes
PCMLM28.cis.ihex -rw-r--r-- 662 bytes
PE-200.cis.ihex -rw-r--r-- 255 bytes
PE520.cis.ihex -rw-r--r-- 266 bytes
RS-COM-2P.cis.ihex -rw-r--r-- 307 bytes
SW_555_SER.cis.ihex -rw-r--r-- 412 bytes
SW_7xx_SER.cis.ihex -rw-r--r-- 460 bytes
SW_8xx_SER.cis.ihex -rw-r--r-- 444 bytes
tamarack.cis.ihex -rw-r--r-- 311 bytes

back to top