Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
bf891bd6
K
Kernel
项目概览
openeuler
/
Kernel
1 年多 前同步成功
通知
8
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
bf891bd6
编写于
18年前
作者:
L
Len Brown
浏览文件
操作
浏览文件
下载
差异文件
Pull trivial2 into release branch
上级
de59e3aa
9c576ff1
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
12 addition
and
8 deletion
+12
-8
arch/ia64/kernel/acpi.c
arch/ia64/kernel/acpi.c
+2
-2
arch/ia64/mm/init.c
arch/ia64/mm/init.c
+2
-0
drivers/acpi/asus_acpi.c
drivers/acpi/asus_acpi.c
+1
-1
drivers/acpi/processor_idle.c
drivers/acpi/processor_idle.c
+4
-4
drivers/acpi/thermal.c
drivers/acpi/thermal.c
+1
-1
drivers/acpi/utils.c
drivers/acpi/utils.c
+2
-0
未找到文件。
arch/ia64/kernel/acpi.c
浏览文件 @
bf891bd6
...
...
@@ -68,8 +68,6 @@ EXPORT_SYMBOL(pm_power_off);
unsigned
char
acpi_kbd_controller_present
=
1
;
unsigned
char
acpi_legacy_devices
;
static
unsigned
int
__initdata
acpi_madt_rev
;
unsigned
int
acpi_cpei_override
;
unsigned
int
acpi_cpei_phys_cpuid
;
...
...
@@ -243,6 +241,8 @@ acpi_parse_iosapic(acpi_table_entry_header * header, const unsigned long end)
return
iosapic_init
(
iosapic
->
address
,
iosapic
->
global_irq_base
);
}
static
unsigned
int
__initdata
acpi_madt_rev
;
static
int
__init
acpi_parse_plat_int_src
(
acpi_table_entry_header
*
header
,
const
unsigned
long
end
)
...
...
This diff is collapsed.
Click to expand it.
arch/ia64/mm/init.c
浏览文件 @
bf891bd6
...
...
@@ -671,9 +671,11 @@ int add_memory(u64 start, u64 size)
return
ret
;
}
EXPORT_SYMBOL_GPL
(
add_memory
);
int
remove_memory
(
u64
start
,
u64
size
)
{
return
-
EINVAL
;
}
EXPORT_SYMBOL_GPL
(
remove_memory
);
#endif
This diff is collapsed.
Click to expand it.
drivers/acpi/asus_acpi.c
浏览文件 @
bf891bd6
...
...
@@ -1245,7 +1245,7 @@ static int __init asus_acpi_init(void)
if
(
!
asus_hotk_found
)
{
acpi_bus_unregister_driver
(
&
asus_hotk_driver
);
remove_proc_entry
(
PROC_ASUS
,
acpi_root_dir
);
return
-
ENODEV
;
return
result
;
}
return
0
;
...
...
This diff is collapsed.
Click to expand it.
drivers/acpi/processor_idle.c
浏览文件 @
bf891bd6
...
...
@@ -54,10 +54,10 @@ ACPI_MODULE_NAME("acpi_processor")
#define US_TO_PM_TIMER_TICKS(t) ((t * (PM_TIMER_FREQUENCY/1000)) / 1000)
#define C2_OVERHEAD 4
/* 1us (3.579 ticks per us) */
#define C3_OVERHEAD 4
/* 1us (3.579 ticks per us) */
static
void
(
*
pm_idle_save
)
(
void
);
static
void
(
*
pm_idle_save
)
(
void
)
__read_mostly
;
module_param
(
max_cstate
,
uint
,
0644
);
static
unsigned
int
nocst
=
0
;
static
unsigned
int
nocst
__read_mostly
;
module_param
(
nocst
,
uint
,
0000
);
/*
...
...
@@ -67,7 +67,7 @@ module_param(nocst, uint, 0000);
* 100 HZ: 0x0000000F: 4 jiffies = 40ms
* reduce history for more aggressive entry into C3
*/
static
unsigned
int
bm_history
=
static
unsigned
int
bm_history
__read_mostly
=
(
HZ
>=
800
?
0xFFFFFFFF
:
((
1U
<<
(
HZ
/
25
))
-
1
));
module_param
(
bm_history
,
uint
,
0644
);
/* --------------------------------------------------------------------------
...
...
@@ -1081,7 +1081,7 @@ int acpi_processor_power_init(struct acpi_processor *pr,
struct
acpi_device
*
device
)
{
acpi_status
status
=
0
;
static
int
first_run
=
0
;
static
int
first_run
;
struct
proc_dir_entry
*
entry
=
NULL
;
unsigned
int
i
;
...
...
This diff is collapsed.
Click to expand it.
drivers/acpi/thermal.c
浏览文件 @
bf891bd6
...
...
@@ -1343,7 +1343,7 @@ static int acpi_thermal_add(struct acpi_device *device)
result
=
acpi_thermal_add_fs
(
device
);
if
(
result
)
return_VALUE
(
result
)
;
goto
end
;
init_timer
(
&
tz
->
timer
);
...
...
This diff is collapsed.
Click to expand it.
drivers/acpi/utils.c
浏览文件 @
bf891bd6
...
...
@@ -273,11 +273,13 @@ acpi_evaluate_integer(acpi_handle handle,
status
=
acpi_evaluate_object
(
handle
,
pathname
,
arguments
,
&
buffer
);
if
(
ACPI_FAILURE
(
status
))
{
acpi_util_eval_error
(
handle
,
pathname
,
status
);
kfree
(
element
);
return_ACPI_STATUS
(
status
);
}
if
(
element
->
type
!=
ACPI_TYPE_INTEGER
)
{
acpi_util_eval_error
(
handle
,
pathname
,
AE_BAD_DATA
);
kfree
(
element
);
return_ACPI_STATUS
(
AE_BAD_DATA
);
}
...
...
This diff is collapsed.
Click to expand it.
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录
新手
引导
客服
返回
顶部