drivers/hwmon/coretemp.c: detect the thermal sensors by CPUID
authorCarsten Emde <C.Emde@osadl.org>
Mon, 24 May 2010 21:33:39 +0000 (14:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 25 May 2010 15:07:07 +0000 (08:07 -0700)
commit5db47b009d17d69a2f8d84357e7b24c3e3c2edec
treee2b4b84a7a24bc5eb02581bec4f4fa623d046406
parente0c70b80786296d4f3c35ebe0d52591cebf8f916
drivers/hwmon/coretemp.c: detect the thermal sensors by CPUID

The thermal sensors of Intel(R) CPUs can be detected by CPUID instruction,
indicated by CPUID.06H.EAX[0].

Signed-off-by: Huaxu Wan <huaxu.wan@linux.intel.com>
Signed-off-by: Carsten Emde <C.Emde@osadl.org>
Reviewed-by: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Yong Wang <yong.y.wang@linux.intel.com>
Cc: Rudolf Marek <r.marek@assembler.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/hwmon/coretemp.c