From: Guenter Roeck Date: Mon, 23 May 2011 21:05:38 +0000 (-0700) Subject: hwmon: (coretemp) Add comments describing the handling of HT CPUs X-Git-Tag: v3.0-rc1~324 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4e0bcf06b9771af04273473592aeeb860ca2816;p=pandora-kernel.git hwmon: (coretemp) Add comments describing the handling of HT CPUs The coretemp driver provides a single set of device attributes for each physical core of a HT CPU to avoid duplicate sensors. This functionality was introduced with commit d883b9f09772 ("hwmon: (coretemp) Skip duplicate CPU entries"). Commit e40cc4bdfd4b ("x86/hwmon: register alternate sibling upon CPU removal") extends this functionality to register the HT sibling of a CPU which is taken offline, to ensure that sensor attributes are provided if at least one HT sibling of a core is online. Add comments into the code describing the functionality in some more detail. Signed-off-by: Guenter Roeck Cc: Fenghua Yu Cc: Durgadoss R Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed