Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
003d6a38
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看板
提交
003d6a38
编写于
9月 19, 2009
作者:
L
Len Brown
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'sfi-base' into release
Conflicts: drivers/acpi/power.c Signed-off-by:
N
Len Brown
<
len.brown@intel.com
>
上级
71fd68e7
e55a5999
变更
37
显示空白变更内容
内联
并排
Showing
37 changed file
with
96 addition
and
12 deletion
+96
-12
arch/x86/include/asm/acpi.h
arch/x86/include/asm/acpi.h
+0
-1
arch/x86/pci/mmconfig-shared.c
arch/x86/pci/mmconfig-shared.c
+2
-0
drivers/acpi/ac.c
drivers/acpi/ac.c
+2
-0
drivers/acpi/battery.c
drivers/acpi/battery.c
+2
-0
drivers/acpi/blacklist.c
drivers/acpi/blacklist.c
+2
-0
drivers/acpi/button.c
drivers/acpi/button.c
+2
-0
drivers/acpi/cm_sbs.c
drivers/acpi/cm_sbs.c
+2
-0
drivers/acpi/container.c
drivers/acpi/container.c
+2
-0
drivers/acpi/dock.c
drivers/acpi/dock.c
+2
-0
drivers/acpi/ec.c
drivers/acpi/ec.c
+0
-1
drivers/acpi/event.c
drivers/acpi/event.c
+2
-0
drivers/acpi/fan.c
drivers/acpi/fan.c
+2
-0
drivers/acpi/glue.c
drivers/acpi/glue.c
+2
-0
drivers/acpi/internal.h
drivers/acpi/internal.h
+21
-1
drivers/acpi/numa.c
drivers/acpi/numa.c
+2
-0
drivers/acpi/pci_irq.c
drivers/acpi/pci_irq.c
+2
-0
drivers/acpi/pci_link.c
drivers/acpi/pci_link.c
+2
-0
drivers/acpi/pci_root.c
drivers/acpi/pci_root.c
+2
-0
drivers/acpi/power.c
drivers/acpi/power.c
+2
-1
drivers/acpi/processor_core.c
drivers/acpi/processor_core.c
+2
-0
drivers/acpi/processor_idle.c
drivers/acpi/processor_idle.c
+2
-0
drivers/acpi/processor_perflib.c
drivers/acpi/processor_perflib.c
+2
-0
drivers/acpi/processor_thermal.c
drivers/acpi/processor_thermal.c
+2
-0
drivers/acpi/processor_throttling.c
drivers/acpi/processor_throttling.c
+2
-0
drivers/acpi/sbs.c
drivers/acpi/sbs.c
+2
-0
drivers/acpi/sbshc.c
drivers/acpi/sbshc.c
+2
-0
drivers/acpi/system.c
drivers/acpi/system.c
+2
-0
drivers/acpi/tables.c
drivers/acpi/tables.c
+6
-0
drivers/acpi/thermal.c
drivers/acpi/thermal.c
+2
-0
drivers/acpi/utils.c
drivers/acpi/utils.c
+2
-0
drivers/acpi/video.c
drivers/acpi/video.c
+2
-0
drivers/acpi/video_detect.c
drivers/acpi/video_detect.c
+2
-0
drivers/pci/dmar.c
drivers/pci/dmar.c
+1
-2
drivers/platform/x86/fujitsu-laptop.c
drivers/platform/x86/fujitsu-laptop.c
+2
-2
drivers/platform/x86/wmi.c
drivers/platform/x86/wmi.c
+0
-1
include/acpi/acpi_bus.h
include/acpi/acpi_bus.h
+0
-2
include/linux/acpi.h
include/linux/acpi.h
+10
-1
未找到文件。
arch/x86/include/asm/acpi.h
浏览文件 @
003d6a38
...
...
@@ -144,7 +144,6 @@ static inline unsigned int acpi_processor_cstate_check(unsigned int max_cstate)
#else
/* !CONFIG_ACPI */
#define acpi_disabled 1
#define acpi_lapic 0
#define acpi_ioapic 0
static
inline
void
acpi_noirq_set
(
void
)
{
}
...
...
arch/x86/pci/mmconfig-shared.c
浏览文件 @
003d6a38
...
...
@@ -18,6 +18,8 @@
#include <asm/e820.h>
#include <asm/pci_x86.h>
#define PREFIX "PCI: "
/* aperture is up to 256MB but BIOS may reserve less */
#define MMCONFIG_APER_MIN (2 * 1024*1024)
#define MMCONFIG_APER_MAX (256 * 1024*1024)
...
...
drivers/acpi/ac.c
浏览文件 @
003d6a38
...
...
@@ -37,6 +37,8 @@
#include <acpi/acpi_bus.h>
#include <acpi/acpi_drivers.h>
#define PREFIX "ACPI: "
#define ACPI_AC_CLASS "ac_adapter"
#define ACPI_AC_DEVICE_NAME "AC Adapter"
#define ACPI_AC_FILE_STATE "state"
...
...
drivers/acpi/battery.c
浏览文件 @
003d6a38
...
...
@@ -45,6 +45,8 @@
#include <linux/power_supply.h>
#endif
#define PREFIX "ACPI: "
#define ACPI_BATTERY_VALUE_UNKNOWN 0xFFFFFFFF
#define ACPI_BATTERY_CLASS "battery"
...
...
drivers/acpi/blacklist.c
浏览文件 @
003d6a38
...
...
@@ -34,6 +34,8 @@
#include <acpi/acpi_bus.h>
#include <linux/dmi.h>
#include "internal.h"
enum
acpi_blacklist_predicates
{
all_versions
,
less_than_or_equal
,
...
...
drivers/acpi/button.c
浏览文件 @
003d6a38
...
...
@@ -33,6 +33,8 @@
#include <acpi/acpi_bus.h>
#include <acpi/acpi_drivers.h>
#define PREFIX "ACPI: "
#define ACPI_BUTTON_CLASS "button"
#define ACPI_BUTTON_FILE_INFO "info"
#define ACPI_BUTTON_FILE_STATE "state"
...
...
drivers/acpi/cm_sbs.c
浏览文件 @
003d6a38
...
...
@@ -28,6 +28,8 @@
#include <acpi/acpi_bus.h>
#include <acpi/acpi_drivers.h>
#define PREFIX "ACPI: "
ACPI_MODULE_NAME
(
"cm_sbs"
);
#define ACPI_AC_CLASS "ac_adapter"
#define ACPI_BATTERY_CLASS "battery"
...
...
drivers/acpi/container.c
浏览文件 @
003d6a38
...
...
@@ -35,6 +35,8 @@
#include <acpi/acpi_drivers.h>
#include <acpi/container.h>
#define PREFIX "ACPI: "
#define ACPI_CONTAINER_DEVICE_NAME "ACPI container device"
#define ACPI_CONTAINER_CLASS "container"
...
...
drivers/acpi/dock.c
浏览文件 @
003d6a38
...
...
@@ -33,6 +33,8 @@
#include <acpi/acpi_bus.h>
#include <acpi/acpi_drivers.h>
#define PREFIX "ACPI: "
#define ACPI_DOCK_DRIVER_DESCRIPTION "ACPI Dock Station Driver"
ACPI_MODULE_NAME
(
"dock"
);
...
...
drivers/acpi/ec.c
浏览文件 @
003d6a38
...
...
@@ -47,7 +47,6 @@
#define ACPI_EC_DEVICE_NAME "Embedded Controller"
#define ACPI_EC_FILE_INFO "info"
#undef PREFIX
#define PREFIX "ACPI: EC: "
/* EC status register */
...
...
drivers/acpi/event.c
浏览文件 @
003d6a38
...
...
@@ -14,6 +14,8 @@
#include <net/netlink.h>
#include <net/genetlink.h>
#include "internal.h"
#define _COMPONENT ACPI_SYSTEM_COMPONENT
ACPI_MODULE_NAME
(
"event"
);
...
...
drivers/acpi/fan.c
浏览文件 @
003d6a38
...
...
@@ -34,6 +34,8 @@
#include <acpi/acpi_bus.h>
#include <acpi/acpi_drivers.h>
#define PREFIX "ACPI: "
#define ACPI_FAN_CLASS "fan"
#define ACPI_FAN_FILE_STATE "state"
...
...
drivers/acpi/glue.c
浏览文件 @
003d6a38
...
...
@@ -12,6 +12,8 @@
#include <linux/rwsem.h>
#include <linux/acpi.h>
#include "internal.h"
#define ACPI_GLUE_DEBUG 0
#if ACPI_GLUE_DEBUG
#define DBG(x...) printk(PREFIX x)
...
...
drivers/acpi/internal.h
浏览文件 @
003d6a38
/* For use by Linux/ACPI infrastructure, not drivers */
/*
* acpi/internal.h
* For use by Linux/ACPI infrastructure, not drivers
*
* Copyright (c) 2009, Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the hope it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
*/
#define PREFIX "ACPI: "
int
init_acpi_device_notify
(
void
);
int
acpi_scan_init
(
void
);
...
...
drivers/acpi/numa.c
浏览文件 @
003d6a38
...
...
@@ -30,6 +30,8 @@
#include <linux/acpi.h>
#include <acpi/acpi_bus.h>
#define PREFIX "ACPI: "
#define ACPI_NUMA 0x80000000
#define _COMPONENT ACPI_NUMA
ACPI_MODULE_NAME
(
"numa"
);
...
...
drivers/acpi/pci_irq.c
浏览文件 @
003d6a38
...
...
@@ -40,6 +40,8 @@
#include <acpi/acpi_bus.h>
#include <acpi/acpi_drivers.h>
#define PREFIX "ACPI: "
#define _COMPONENT ACPI_PCI_COMPONENT
ACPI_MODULE_NAME
(
"pci_irq"
);
...
...
drivers/acpi/pci_link.c
浏览文件 @
003d6a38
...
...
@@ -43,6 +43,8 @@
#include <acpi/acpi_bus.h>
#include <acpi/acpi_drivers.h>
#define PREFIX "ACPI: "
#define _COMPONENT ACPI_PCI_COMPONENT
ACPI_MODULE_NAME
(
"pci_link"
);
#define ACPI_PCI_LINK_CLASS "pci_irq_routing"
...
...
drivers/acpi/pci_root.c
浏览文件 @
003d6a38
...
...
@@ -36,6 +36,8 @@
#include <acpi/acpi_bus.h>
#include <acpi/acpi_drivers.h>
#define PREFIX "ACPI: "
#define _COMPONENT ACPI_PCI_COMPONENT
ACPI_MODULE_NAME
(
"pci_root"
);
#define ACPI_PCI_ROOT_CLASS "pci_bridge"
...
...
drivers/acpi/power.c
浏览文件 @
003d6a38
...
...
@@ -43,9 +43,10 @@
#include <linux/seq_file.h>
#include <acpi/acpi_bus.h>
#include <acpi/acpi_drivers.h>
#include "sleep.h"
#define PREFIX "ACPI: "
#define _COMPONENT ACPI_POWER_COMPONENT
ACPI_MODULE_NAME
(
"power"
);
#define ACPI_POWER_CLASS "power_resource"
...
...
drivers/acpi/processor_core.c
浏览文件 @
003d6a38
...
...
@@ -59,6 +59,8 @@
#include <acpi/acpi_drivers.h>
#include <acpi/processor.h>
#define PREFIX "ACPI: "
#define ACPI_PROCESSOR_CLASS "processor"
#define ACPI_PROCESSOR_DEVICE_NAME "Processor"
#define ACPI_PROCESSOR_FILE_INFO "info"
...
...
drivers/acpi/processor_idle.c
浏览文件 @
003d6a38
...
...
@@ -60,6 +60,8 @@
#include <acpi/processor.h>
#include <asm/processor.h>
#define PREFIX "ACPI: "
#define ACPI_PROCESSOR_CLASS "processor"
#define _COMPONENT ACPI_PROCESSOR_COMPONENT
ACPI_MODULE_NAME
(
"processor_idle"
);
...
...
drivers/acpi/processor_perflib.c
浏览文件 @
003d6a38
...
...
@@ -39,6 +39,8 @@
#include <acpi/acpi_drivers.h>
#include <acpi/processor.h>
#define PREFIX "ACPI: "
#define ACPI_PROCESSOR_CLASS "processor"
#define ACPI_PROCESSOR_FILE_PERFORMANCE "performance"
#define _COMPONENT ACPI_PROCESSOR_COMPONENT
...
...
drivers/acpi/processor_thermal.c
浏览文件 @
003d6a38
...
...
@@ -40,6 +40,8 @@
#include <acpi/processor.h>
#include <acpi/acpi_drivers.h>
#define PREFIX "ACPI: "
#define ACPI_PROCESSOR_CLASS "processor"
#define _COMPONENT ACPI_PROCESSOR_COMPONENT
ACPI_MODULE_NAME
(
"processor_thermal"
);
...
...
drivers/acpi/processor_throttling.c
浏览文件 @
003d6a38
...
...
@@ -41,6 +41,8 @@
#include <acpi/acpi_drivers.h>
#include <acpi/processor.h>
#define PREFIX "ACPI: "
#define ACPI_PROCESSOR_CLASS "processor"
#define _COMPONENT ACPI_PROCESSOR_COMPONENT
ACPI_MODULE_NAME
(
"processor_throttling"
);
...
...
drivers/acpi/sbs.c
浏览文件 @
003d6a38
...
...
@@ -46,6 +46,8 @@
#include "sbshc.h"
#define PREFIX "ACPI: "
#define ACPI_SBS_CLASS "sbs"
#define ACPI_AC_CLASS "ac_adapter"
#define ACPI_BATTERY_CLASS "battery"
...
...
drivers/acpi/sbshc.c
浏览文件 @
003d6a38
...
...
@@ -15,6 +15,8 @@
#include <linux/interrupt.h>
#include "sbshc.h"
#define PREFIX "ACPI: "
#define ACPI_SMB_HC_CLASS "smbus_host_controller"
#define ACPI_SMB_HC_DEVICE_NAME "ACPI SMBus HC"
...
...
drivers/acpi/system.c
浏览文件 @
003d6a38
...
...
@@ -31,6 +31,8 @@
#include <acpi/acpi_drivers.h>
#define PREFIX "ACPI: "
#define _COMPONENT ACPI_SYSTEM_COMPONENT
ACPI_MODULE_NAME
(
"system"
);
...
...
drivers/acpi/tables.c
浏览文件 @
003d6a38
...
...
@@ -213,6 +213,9 @@ acpi_table_parse_entries(char *id,
unsigned
long
table_end
;
acpi_size
tbl_size
;
if
(
acpi_disabled
)
return
-
ENODEV
;
if
(
!
handler
)
return
-
EINVAL
;
...
...
@@ -277,6 +280,9 @@ int __init acpi_table_parse(char *id, acpi_table_handler handler)
struct
acpi_table_header
*
table
=
NULL
;
acpi_size
tbl_size
;
if
(
acpi_disabled
)
return
-
ENODEV
;
if
(
!
handler
)
return
-
EINVAL
;
...
...
drivers/acpi/thermal.c
浏览文件 @
003d6a38
...
...
@@ -47,6 +47,8 @@
#include <acpi/acpi_bus.h>
#include <acpi/acpi_drivers.h>
#define PREFIX "ACPI: "
#define ACPI_THERMAL_CLASS "thermal_zone"
#define ACPI_THERMAL_DEVICE_NAME "Thermal Zone"
#define ACPI_THERMAL_FILE_STATE "state"
...
...
drivers/acpi/utils.c
浏览文件 @
003d6a38
...
...
@@ -30,6 +30,8 @@
#include <acpi/acpi_bus.h>
#include <acpi/acpi_drivers.h>
#include "internal.h"
#define _COMPONENT ACPI_BUS_COMPONENT
ACPI_MODULE_NAME
(
"utils"
);
...
...
drivers/acpi/video.c
浏览文件 @
003d6a38
...
...
@@ -44,6 +44,8 @@
#include <acpi/acpi_bus.h>
#include <acpi/acpi_drivers.h>
#define PREFIX "ACPI: "
#define ACPI_VIDEO_CLASS "video"
#define ACPI_VIDEO_BUS_NAME "Video Bus"
#define ACPI_VIDEO_DEVICE_NAME "Video Device"
...
...
drivers/acpi/video_detect.c
浏览文件 @
003d6a38
...
...
@@ -38,6 +38,8 @@
#include <linux/dmi.h>
#include <linux/pci.h>
#define PREFIX "ACPI: "
ACPI_MODULE_NAME
(
"video"
);
#define _COMPONENT ACPI_VIDEO_COMPONENT
...
...
drivers/pci/dmar.c
浏览文件 @
003d6a38
...
...
@@ -35,8 +35,7 @@
#include <linux/interrupt.h>
#include <linux/tboot.h>
#undef PREFIX
#define PREFIX "DMAR:"
#define PREFIX "DMAR: "
/* No locks are needed as DMA remapping hardware unit
* list is constructed at boot time and hotplug of
...
...
drivers/platform/x86/fujitsu-laptop.c
浏览文件 @
003d6a38
...
...
@@ -700,7 +700,7 @@ static int acpi_fujitsu_add(struct acpi_device *device)
goto
end
;
}
printk
(
KERN_INFO
PREFIX
"
%s [%s] (%s)
\n
"
,
printk
(
KERN_INFO
"ACPI:
%s [%s] (%s)
\n
"
,
acpi_device_name
(
device
),
acpi_device_bid
(
device
),
!
device
->
power
.
state
?
"on"
:
"off"
);
...
...
@@ -874,7 +874,7 @@ static int acpi_fujitsu_hotkey_add(struct acpi_device *device)
goto
end
;
}
printk
(
KERN_INFO
PREFIX
"
%s [%s] (%s)
\n
"
,
printk
(
KERN_INFO
"ACPI:
%s [%s] (%s)
\n
"
,
acpi_device_name
(
device
),
acpi_device_bid
(
device
),
!
device
->
power
.
state
?
"on"
:
"off"
);
...
...
drivers/platform/x86/wmi.c
浏览文件 @
003d6a38
...
...
@@ -42,7 +42,6 @@ MODULE_LICENSE("GPL");
#define ACPI_WMI_CLASS "wmi"
#undef PREFIX
#define PREFIX "ACPI: WMI: "
static
DEFINE_MUTEX
(
wmi_data_lock
);
...
...
include/acpi/acpi_bus.h
浏览文件 @
003d6a38
...
...
@@ -30,8 +30,6 @@
#include <acpi/acpi.h>
#define PREFIX "ACPI: "
/* TBD: Make dynamic */
#define ACPI_MAX_HANDLES 10
struct
acpi_handle_list
{
...
...
include/linux/acpi.h
浏览文件 @
003d6a38
...
...
@@ -292,7 +292,10 @@ void __init acpi_s4_no_nvs(void);
extern
acpi_status
acpi_pci_osc_control_set
(
acpi_handle
handle
,
u32
flags
);
extern
void
acpi_early_init
(
void
);
#else
/* CONFIG_ACPI */
#else
/* !CONFIG_ACPI */
#define acpi_disabled 1
static
inline
void
acpi_early_init
(
void
)
{
}
static
inline
int
early_acpi_boot_init
(
void
)
...
...
@@ -331,5 +334,11 @@ static inline int acpi_check_mem_region(resource_size_t start,
return
0
;
}
struct
acpi_table_header
;
static
inline
int
acpi_table_parse
(
char
*
id
,
int
(
*
handler
)(
struct
acpi_table_header
*
))
{
return
-
1
;
}
#endif
/* !CONFIG_ACPI */
#endif
/*_LINUX_ACPI_H*/
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录