Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
c4e6a2e6
cloud-kernel
项目概览
openanolis
/
cloud-kernel
大约 1 年 前同步成功
通知
158
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
c4e6a2e6
编写于
6月 26, 2008
作者:
L
Len Brown
浏览文件
操作
浏览文件
下载
差异文件
Merge branches 'release', 'acpi_disabled' and 'bugzilla-10958' into release
上级
816c2eda
16d75239
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
22 addition
and
6 deletion
+22
-6
Documentation/feature-removal-schedule.txt
Documentation/feature-removal-schedule.txt
+9
-0
drivers/thermal/Kconfig
drivers/thermal/Kconfig
+9
-0
drivers/thermal/thermal_sys.c
drivers/thermal/thermal_sys.c
+2
-2
include/linux/thermal.h
include/linux/thermal.h
+2
-4
未找到文件。
Documentation/feature-removal-schedule.txt
浏览文件 @
c4e6a2e6
...
...
@@ -312,3 +312,12 @@ When: 2.6.26
Why: Implementation became generic; users should now include
linux/semaphore.h instead.
Who: Matthew Wilcox <willy@linux.intel.com>
---------------------------
What: CONFIG_THERMAL_HWMON
When: January 2009
Why: This option was introduced just to allow older lm-sensors userspace
to keep working over the upgrade to 2.6.26. At the scheduled time of
removal fixed lm-sensors (2.x or 3.x) should be readily available.
Who: Rene Herman <rene.herman@gmail.com>
drivers/thermal/Kconfig
浏览文件 @
c4e6a2e6
...
...
@@ -12,3 +12,12 @@ menuconfig THERMAL
cooling devices.
All platforms with ACPI thermal support can use this driver.
If you want this support, you should say Y or M here.
config THERMAL_HWMON
bool "Hardware monitoring support"
depends on HWMON=y || HWMON=THERMAL
help
The generic thermal sysfs driver's hardware monitoring support
requires a 2.10.7/3.0.2 or later lm-sensors userspace.
Say Y if your user-space is new enough.
drivers/thermal/thermal_sys.c
浏览文件 @
c4e6a2e6
...
...
@@ -295,8 +295,8 @@ thermal_cooling_device_trip_point_show(struct device *dev,
/* Device management */
#if defined(CONFIG_
HWMON) || \
(defined(CONFIG_HWMON_MODULE) && defined(CONFIG_THERMAL_MODULE))
#if defined(CONFIG_
THERMAL_HWMON)
/* hwmon sys I/F */
#include <linux/hwmon.h>
static
LIST_HEAD
(
thermal_hwmon_list
);
...
...
include/linux/thermal.h
浏览文件 @
c4e6a2e6
...
...
@@ -66,8 +66,7 @@ struct thermal_cooling_device {
((long)t-2732+5)/10 : ((long)t-2732-5)/10)
#define CELSIUS_TO_KELVIN(t) ((t)*10+2732)
#if defined(CONFIG_HWMON) || \
(defined(CONFIG_HWMON_MODULE) && defined(CONFIG_THERMAL_MODULE))
#if defined(CONFIG_THERMAL_HWMON)
/* thermal zone devices with the same type share one hwmon device */
struct
thermal_hwmon_device
{
char
type
[
THERMAL_NAME_LENGTH
];
...
...
@@ -94,8 +93,7 @@ struct thermal_zone_device {
struct
idr
idr
;
struct
mutex
lock
;
/* protect cooling devices list */
struct
list_head
node
;
#if defined(CONFIG_HWMON) || \
(defined(CONFIG_HWMON_MODULE) && defined(CONFIG_THERMAL_MODULE))
#if defined(CONFIG_THERMAL_HWMON)
struct
list_head
hwmon_node
;
struct
thermal_hwmon_device
*
hwmon
;
struct
thermal_hwmon_attr
temp_input
;
/* hwmon sys attr */
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录