Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
9a2ed5cc
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
160
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看板
提交
9a2ed5cc
编写于
4月 07, 2009
作者:
D
David S. Miller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
sparc64: Fix section mismatch warnings in PCI controller drivers.
Signed-off-by:
N
David S. Miller
<
davem@davemloft.net
>
上级
19ab6db6
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
20 addition
and
20 deletion
+20
-20
arch/sparc/kernel/pci_fire.c
arch/sparc/kernel/pci_fire.c
+2
-2
arch/sparc/kernel/pci_psycho.c
arch/sparc/kernel/pci_psycho.c
+4
-4
arch/sparc/kernel/pci_sabre.c
arch/sparc/kernel/pci_sabre.c
+4
-4
arch/sparc/kernel/pci_sun4v.c
arch/sparc/kernel/pci_sun4v.c
+7
-7
arch/sparc/mm/init_64.c
arch/sparc/mm/init_64.c
+3
-3
未找到文件。
arch/sparc/kernel/pci_fire.c
浏览文件 @
9a2ed5cc
...
...
@@ -409,8 +409,8 @@ static void pci_fire_hw_init(struct pci_pbm_info *pbm)
upa_writeq
(
~
(
u64
)
0
,
pbm
->
pbm_regs
+
FIRE_PEC_IENAB
);
}
static
int
__init
pci_fire_pbm_init
(
struct
pci_pbm_info
*
pbm
,
struct
of_device
*
op
,
u32
portid
)
static
int
__
dev
init
pci_fire_pbm_init
(
struct
pci_pbm_info
*
pbm
,
struct
of_device
*
op
,
u32
portid
)
{
const
struct
linux_prom64_registers
*
regs
;
struct
device_node
*
dp
=
op
->
node
;
...
...
arch/sparc/kernel/pci_psycho.c
浏览文件 @
9a2ed5cc
...
...
@@ -365,8 +365,8 @@ static void pbm_config_busmastering(struct pci_pbm_info *pbm)
pci_config_write8
(
addr
,
64
);
}
static
void
__init
psycho_scan_bus
(
struct
pci_pbm_info
*
pbm
,
struct
device
*
parent
)
static
void
__
dev
init
psycho_scan_bus
(
struct
pci_pbm_info
*
pbm
,
struct
device
*
parent
)
{
pbm_config_busmastering
(
pbm
);
pbm
->
is_66mhz_capable
=
0
;
...
...
@@ -482,8 +482,8 @@ static void psycho_pbm_strbuf_init(struct pci_pbm_info *pbm,
#define PSYCHO_MEMSPACE_B 0x180000000UL
#define PSYCHO_MEMSPACE_SIZE 0x07fffffffUL
static
void
__init
psycho_pbm_init
(
struct
pci_pbm_info
*
pbm
,
struct
of_device
*
op
,
int
is_pbm_a
)
static
void
__
dev
init
psycho_pbm_init
(
struct
pci_pbm_info
*
pbm
,
struct
of_device
*
op
,
int
is_pbm_a
)
{
psycho_pbm_init_common
(
pbm
,
op
,
"PSYCHO"
,
PBM_CHIP_TYPE_PSYCHO
);
psycho_pbm_strbuf_init
(
pbm
,
is_pbm_a
);
...
...
arch/sparc/kernel/pci_sabre.c
浏览文件 @
9a2ed5cc
...
...
@@ -402,8 +402,8 @@ static void apb_init(struct pci_bus *sabre_bus)
}
}
static
void
__init
sabre_scan_bus
(
struct
pci_pbm_info
*
pbm
,
struct
device
*
parent
)
static
void
__
dev
init
sabre_scan_bus
(
struct
pci_pbm_info
*
pbm
,
struct
device
*
parent
)
{
static
int
once
;
...
...
@@ -442,8 +442,8 @@ static void __init sabre_scan_bus(struct pci_pbm_info *pbm,
sabre_register_error_handlers
(
pbm
);
}
static
void
__init
sabre_pbm_init
(
struct
pci_pbm_info
*
pbm
,
struct
of_device
*
op
)
static
void
__
dev
init
sabre_pbm_init
(
struct
pci_pbm_info
*
pbm
,
struct
of_device
*
op
)
{
psycho_pbm_init_common
(
pbm
,
op
,
"SABRE"
,
PBM_CHIP_TYPE_SABRE
);
pbm
->
pci_afsr
=
pbm
->
controller_regs
+
SABRE_PIOAFSR
;
...
...
arch/sparc/kernel/pci_sun4v.c
浏览文件 @
9a2ed5cc
...
...
@@ -545,8 +545,8 @@ static const struct dma_ops sun4v_dma_ops = {
.
sync_sg_for_cpu
=
dma_4v_sync_sg_for_cpu
,
};
static
void
__init
pci_sun4v_scan_bus
(
struct
pci_pbm_info
*
pbm
,
struct
device
*
parent
)
static
void
__
dev
init
pci_sun4v_scan_bus
(
struct
pci_pbm_info
*
pbm
,
struct
device
*
parent
)
{
struct
property
*
prop
;
struct
device_node
*
dp
;
...
...
@@ -559,8 +559,8 @@ static void __init pci_sun4v_scan_bus(struct pci_pbm_info *pbm,
/* XXX register error interrupt handlers XXX */
}
static
unsigned
long
__init
probe_existing_entries
(
struct
pci_pbm_info
*
pbm
,
struct
iommu
*
iommu
)
static
unsigned
long
__
dev
init
probe_existing_entries
(
struct
pci_pbm_info
*
pbm
,
struct
iommu
*
iommu
)
{
struct
iommu_arena
*
arena
=
&
iommu
->
arena
;
unsigned
long
i
,
cnt
=
0
;
...
...
@@ -587,7 +587,7 @@ static unsigned long __init probe_existing_entries(struct pci_pbm_info *pbm,
return
cnt
;
}
static
int
__init
pci_sun4v_iommu_init
(
struct
pci_pbm_info
*
pbm
)
static
int
__
dev
init
pci_sun4v_iommu_init
(
struct
pci_pbm_info
*
pbm
)
{
static
const
u32
vdma_default
[]
=
{
0x80000000
,
0x80000000
};
struct
iommu
*
iommu
=
pbm
->
iommu
;
...
...
@@ -889,8 +889,8 @@ static void pci_sun4v_msi_init(struct pci_pbm_info *pbm)
}
#endif
/* !(CONFIG_PCI_MSI) */
static
int
__init
pci_sun4v_pbm_init
(
struct
pci_pbm_info
*
pbm
,
struct
of_device
*
op
,
u32
devhandle
)
static
int
__
dev
init
pci_sun4v_pbm_init
(
struct
pci_pbm_info
*
pbm
,
struct
of_device
*
op
,
u32
devhandle
)
{
struct
device_node
*
dp
=
op
->
node
;
int
err
;
...
...
arch/sparc/mm/init_64.c
浏览文件 @
9a2ed5cc
...
...
@@ -70,8 +70,8 @@ extern struct tsb swapper_4m_tsb[KERNEL_TSB4M_NENTRIES];
#define MAX_BANKS 32
static
struct
linux_prom64_registers
pavail
[
MAX_BANKS
]
__initdata
;
static
int
pavail_ents
__initdata
;
static
struct
linux_prom64_registers
pavail
[
MAX_BANKS
]
__
dev
initdata
;
static
int
pavail_ents
__
dev
initdata
;
static
int
cmp_p64
(
const
void
*
a
,
const
void
*
b
)
{
...
...
@@ -1841,7 +1841,7 @@ void __init paging_init(void)
printk
(
"Booting Linux...
\n
"
);
}
int
__init
page_in_phys_avail
(
unsigned
long
paddr
)
int
__
dev
init
page_in_phys_avail
(
unsigned
long
paddr
)
{
int
i
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录