]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (coretemp) Skip duplicate CPU entries
authorJean Delvare <khali@linux-fr.org>
Fri, 9 Jul 2010 14:22:49 +0000 (16:22 +0200)
committerJean Delvare <khali@linux-fr.org>
Fri, 9 Jul 2010 14:22:49 +0000 (16:22 +0200)
commit15464a114ecd5a0433facdcefcb765b6b91e0cc5
tree75f5764d4272e8aef005ecb5e7667773afa1b7e7
parent7f68835a8581327feb386aa58215959072a0c41d
hwmon: (coretemp) Skip duplicate CPU entries

On hyper-threaded CPUs, each core appears twice in the CPU list. Skip
the second entry to avoid duplicate sensors.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Huaxu Wan <huaxu.wan@intel.com>
Cc: stable@kernel.org
drivers/hwmon/coretemp.c