36 lines
1.3 KiB
Diff
36 lines
1.3 KiB
Diff
|
From: "H. Peter Anvin" <hpa@linux.intel.com>
|
||
|
Date: Fri, 22 Jun 2012 10:58:06 -0700
|
||
|
Subject: x86, cpufeature: Rename X86_FEATURE_DTS to X86_FEATURE_DTHERM
|
||
|
|
||
|
commit 4ad33411308596f2f918603509729922a1ec4411 upstream.
|
||
|
|
||
|
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>
|
||
|
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
|
||
|
[bwh: Most of this was applied in 3.2.22; just apply the device table change
|
||
|
which didn't belong there]
|
||
|
---
|
||
|
--- a/drivers/hwmon/coretemp.c
|
||
|
+++ b/drivers/hwmon/coretemp.c
|
||
|
@@ -762,7 +762,7 @@ static struct notifier_block coretemp_cp
|
||
|
};
|
||
|
|
||
|
static const struct x86_cpu_id coretemp_ids[] = {
|
||
|
- { X86_VENDOR_INTEL, X86_FAMILY_ANY, X86_MODEL_ANY, X86_FEATURE_DTS },
|
||
|
+ { X86_VENDOR_INTEL, X86_FAMILY_ANY, X86_MODEL_ANY, X86_FEATURE_DTHERM },
|
||
|
{}
|
||
|
};
|
||
|
MODULE_DEVICE_TABLE(x86cpu, coretemp_ids);
|