Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
be6066f3
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
be6066f3
编写于
1月 20, 2010
作者:
L
Len Brown
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'misc' into release
上级
b4cdd6ac
7f07a605
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
25 addition
and
30 deletion
+25
-30
arch/x86/kernel/acpi/boot.c
arch/x86/kernel/acpi/boot.c
+6
-16
drivers/acpi/pci_link.c
drivers/acpi/pci_link.c
+1
-1
drivers/acpi/pci_root.c
drivers/acpi/pci_root.c
+1
-1
drivers/acpi/power.c
drivers/acpi/power.c
+1
-1
drivers/acpi/power_meter.c
drivers/acpi/power_meter.c
+2
-2
drivers/acpi/processor_pdc.c
drivers/acpi/processor_pdc.c
+1
-1
drivers/acpi/processor_thermal.c
drivers/acpi/processor_thermal.c
+1
-2
drivers/acpi/sbs.c
drivers/acpi/sbs.c
+3
-0
drivers/platform/x86/sony-laptop.c
drivers/platform/x86/sony-laptop.c
+6
-3
include/linux/acpi.h
include/linux/acpi.h
+3
-3
未找到文件。
arch/x86/kernel/acpi/boot.c
浏览文件 @
be6066f3
...
...
@@ -1529,16 +1529,10 @@ static struct dmi_system_id __initdata acpi_dmi_table_late[] = {
* if acpi_blacklisted() acpi_disabled = 1;
* acpi_irq_model=...
* ...
*
* return value: (currently ignored)
* 0: success
* !0: failure
*/
int
__init
acpi_boot_table_init
(
void
)
void
__init
acpi_boot_table_init
(
void
)
{
int
error
;
dmi_check_system
(
acpi_dmi_table
);
/*
...
...
@@ -1546,15 +1540,14 @@ int __init acpi_boot_table_init(void)
* One exception: acpi=ht continues far enough to enumerate LAPICs
*/
if
(
acpi_disabled
&&
!
acpi_ht
)
return
1
;
return
;
/*
* Initialize the ACPI boot-time table parser.
*/
error
=
acpi_table_init
();
if
(
error
)
{
if
(
acpi_table_init
())
{
disable_acpi
();
return
error
;
return
;
}
acpi_table_parse
(
ACPI_SIG_BOOT
,
acpi_parse_sbf
);
...
...
@@ -1562,18 +1555,15 @@ int __init acpi_boot_table_init(void)
/*
* blacklist may disable ACPI entirely
*/
error
=
acpi_blacklisted
();
if
(
error
)
{
if
(
acpi_blacklisted
())
{
if
(
acpi_force
)
{
printk
(
KERN_WARNING
PREFIX
"acpi=force override
\n
"
);
}
else
{
printk
(
KERN_WARNING
PREFIX
"Disabling ACPI support
\n
"
);
disable_acpi
();
return
error
;
return
;
}
}
return
0
;
}
int
__init
early_acpi_boot_init
(
void
)
...
...
drivers/acpi/pci_link.c
浏览文件 @
be6066f3
...
...
@@ -56,7 +56,7 @@ ACPI_MODULE_NAME("pci_link");
static
int
acpi_pci_link_add
(
struct
acpi_device
*
device
);
static
int
acpi_pci_link_remove
(
struct
acpi_device
*
device
,
int
type
);
static
struct
acpi_device_id
link_device_ids
[]
=
{
static
const
struct
acpi_device_id
link_device_ids
[]
=
{
{
"PNP0C0F"
,
0
},
{
""
,
0
},
};
...
...
drivers/acpi/pci_root.c
浏览文件 @
be6066f3
...
...
@@ -46,7 +46,7 @@ static int acpi_pci_root_add(struct acpi_device *device);
static
int
acpi_pci_root_remove
(
struct
acpi_device
*
device
,
int
type
);
static
int
acpi_pci_root_start
(
struct
acpi_device
*
device
);
static
struct
acpi_device_id
root_device_ids
[]
=
{
static
const
struct
acpi_device_id
root_device_ids
[]
=
{
{
"PNP0A03"
,
0
},
{
""
,
0
},
};
...
...
drivers/acpi/power.c
浏览文件 @
be6066f3
...
...
@@ -65,7 +65,7 @@ static int acpi_power_remove(struct acpi_device *device, int type);
static
int
acpi_power_resume
(
struct
acpi_device
*
device
);
static
int
acpi_power_open_fs
(
struct
inode
*
inode
,
struct
file
*
file
);
static
struct
acpi_device_id
power_device_ids
[]
=
{
static
const
struct
acpi_device_id
power_device_ids
[]
=
{
{
ACPI_POWER_HID
,
0
},
{
""
,
0
},
};
...
...
drivers/acpi/power_meter.c
浏览文件 @
be6066f3
...
...
@@ -64,7 +64,7 @@ static int can_cap_in_hardware(void)
return
force_cap_on
||
cap_in_hardware
;
}
static
struct
acpi_device_id
power_meter_ids
[]
=
{
static
const
struct
acpi_device_id
power_meter_ids
[]
=
{
{
"ACPI000D"
,
0
},
{
""
,
0
},
};
...
...
@@ -534,6 +534,7 @@ static void remove_domain_devices(struct acpi_power_meter_resource *resource)
kfree
(
resource
->
domain_devices
);
kobject_put
(
resource
->
holders_dir
);
resource
->
num_domain_devices
=
0
;
}
static
int
read_domain_devices
(
struct
acpi_power_meter_resource
*
resource
)
...
...
@@ -740,7 +741,6 @@ static int setup_attrs(struct acpi_power_meter_resource *resource)
return
res
;
error:
remove_domain_devices
(
resource
);
remove_attrs
(
resource
);
return
res
;
}
...
...
drivers/acpi/processor_pdc.c
浏览文件 @
be6066f3
...
...
@@ -151,7 +151,7 @@ early_init_pdc(acpi_handle handle, u32 lvl, void *context, void **rv)
return
AE_OK
;
}
void
acpi_early_processor_set_pdc
(
void
)
void
__init
acpi_early_processor_set_pdc
(
void
)
{
/*
* Check whether the system is DMI table. If yes, OSPM
...
...
drivers/acpi/processor_thermal.c
浏览文件 @
be6066f3
...
...
@@ -443,8 +443,7 @@ struct thermal_cooling_device_ops processor_cooling_ops = {
#ifdef CONFIG_ACPI_PROCFS
static
int
acpi_processor_limit_seq_show
(
struct
seq_file
*
seq
,
void
*
offset
)
{
struct
acpi_processor
*
pr
=
(
struct
acpi_processor
*
)
seq
->
private
;
struct
acpi_processor
*
pr
=
seq
->
private
;
if
(
!
pr
)
goto
end
;
...
...
drivers/acpi/sbs.c
浏览文件 @
be6066f3
...
...
@@ -822,7 +822,10 @@ static int acpi_battery_add(struct acpi_sbs *sbs, int id)
static
void
acpi_battery_remove
(
struct
acpi_sbs
*
sbs
,
int
id
)
{
#if defined(CONFIG_ACPI_SYSFS_POWER) || defined(CONFIG_ACPI_PROCFS_POWER)
struct
acpi_battery
*
battery
=
&
sbs
->
battery
[
id
];
#endif
#ifdef CONFIG_ACPI_SYSFS_POWER
if
(
battery
->
bat
.
dev
)
{
if
(
battery
->
have_sysfs_alarm
)
...
...
drivers/platform/x86/sony-laptop.c
浏览文件 @
be6066f3
...
...
@@ -1201,9 +1201,12 @@ static void sony_nc_rfkill_setup(struct acpi_device *device)
/* the buffer is filled with magic numbers describing the devices
* available, 0xff terminates the enumeration
*/
while
((
dev_code
=
*
(
device_enum
->
buffer
.
pointer
+
i
))
!=
0xff
&&
i
<
device_enum
->
buffer
.
length
)
{
i
++
;
for
(
i
=
0
;
i
<
device_enum
->
buffer
.
length
;
i
++
)
{
dev_code
=
*
(
device_enum
->
buffer
.
pointer
+
i
);
if
(
dev_code
==
0xff
)
break
;
dprintk
(
"Radio devices, looking at 0x%.2x
\n
"
,
dev_code
);
if
(
dev_code
==
0
&&
!
sony_rfkill_devices
[
SONY_WIFI
])
...
...
include/linux/acpi.h
浏览文件 @
be6066f3
...
...
@@ -80,7 +80,7 @@ char * __acpi_map_table (unsigned long phys_addr, unsigned long size);
void
__acpi_unmap_table
(
char
*
map
,
unsigned
long
size
);
int
early_acpi_boot_init
(
void
);
int
acpi_boot_init
(
void
);
int
acpi_boot_table_init
(
void
);
void
acpi_boot_table_init
(
void
);
int
acpi_mps_check
(
void
);
int
acpi_numa_init
(
void
);
...
...
@@ -321,9 +321,9 @@ static inline int acpi_boot_init(void)
return
0
;
}
static
inline
int
acpi_boot_table_init
(
void
)
static
inline
void
acpi_boot_table_init
(
void
)
{
return
0
;
return
;
}
static
inline
int
acpi_mps_check
(
void
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录