hwmon: (coretemp) Skip duplicate CPU entries
authorJean Delvare <khali@linux-fr.org>
Fri, 9 Jul 2010 14:22:49 +0000 (16:22 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 Aug 2010 17:18:49 +0000 (10:18 -0700)
commit d883b9f0977269d519469da72faec6a7f72cb489 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found