aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2012-06-22 13:58:06 -0400
committerH. Peter Anvin <hpa@linux.intel.com>2012-06-25 12:01:15 -0400
commit4ad33411308596f2f918603509729922a1ec4411 (patch)
tree6c0cf345db064544c6f205fadc589602076f18cd /drivers/hwmon
parentc15acff337ca5c2f101fee99f36c89d47839d387 (diff)
x86, cpufeature: Rename X86_FEATURE_DTS to X86_FEATURE_DTHERM
It makes sense to label "Digital Thermal Sensor" as "DTS", but unfortunately the string "dts" was already used for "Debug Store", and /proc/cpuinfo is a user space ABI. Therefore, rename this to "dtherm". This conflict went into mainline via the hwmon tree without any x86 maintainer ack, and without any kind of hint in the subject. a4659053 x86/hwmon: fix initialization of coretemp Reported-by: Jean Delvare <khali@linux-fr.org> Link: http://lkml.kernel.org/r/4FE34BCB.5050305@linux.intel.com Cc: Jan Beulich <JBeulich@suse.com> Cc: <stable@vger.kernel.org> v2.6.36..v3.4 Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r--drivers/hwmon/coretemp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hwmon/coretemp.c b/drivers/hwmon/coretemp.c
index b9d512331ed4..0f52799973d4 100644
--- a/drivers/hwmon/coretemp.c
+++ b/drivers/hwmon/coretemp.c
@@ -664,7 +664,7 @@ static void __cpuinit get_core_online(unsigned int cpu)
664 * sensors. We check this bit only, all the early CPUs 664 * sensors. We check this bit only, all the early CPUs
665 * without thermal sensors will be filtered out. 665 * without thermal sensors will be filtered out.
666 */ 666 */
667 if (!cpu_has(c, X86_FEATURE_DTS)) 667 if (!cpu_has(c, X86_FEATURE_DTHERM))
668 return; 668 return;
669 669
670 if (!pdev) { 670 if (!pdev) {
@@ -765,7 +765,7 @@ static struct notifier_block coretemp_cpu_notifier __refdata = {
765}; 765};
766 766
767static const struct x86_cpu_id coretemp_ids[] = { 767static const struct x86_cpu_id coretemp_ids[] = {
768 { X86_VENDOR_INTEL, X86_FAMILY_ANY, X86_MODEL_ANY, X86_FEATURE_DTS }, 768 { X86_VENDOR_INTEL, X86_FAMILY_ANY, X86_MODEL_ANY, X86_FEATURE_DTHERM },
769 {} 769 {}
770}; 770};
771MODULE_DEVICE_TABLE(x86cpu, coretemp_ids); 771MODULE_DEVICE_TABLE(x86cpu, coretemp_ids);