Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
b696fdc2
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看板
提交
b696fdc2
编写于
5月 26, 2009
作者:
D
David S. Miller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
sparc64: Defer cpu_data() setup until end of per-cpu data initialization.
Signed-off-by:
N
David S. Miller
<
davem@davemloft.net
>
上级
a2094502
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
9 addition
and
10 deletion
+9
-10
arch/sparc/kernel/ds.c
arch/sparc/kernel/ds.c
+1
-0
arch/sparc/kernel/mdesc.c
arch/sparc/kernel/mdesc.c
+0
-1
arch/sparc/kernel/prom_64.c
arch/sparc/kernel/prom_64.c
+0
-1
arch/sparc/kernel/smp_64.c
arch/sparc/kernel/smp_64.c
+4
-0
arch/sparc/mm/init_64.c
arch/sparc/mm/init_64.c
+4
-8
未找到文件。
arch/sparc/kernel/ds.c
浏览文件 @
b696fdc2
...
...
@@ -544,6 +544,7 @@ static int __cpuinit dr_cpu_configure(struct ds_info *dp,
resp_len
,
ncpus
,
mask
,
DR_CPU_STAT_CONFIGURED
);
mdesc_populate_present_mask
(
mask
);
mdesc_fill_in_cpu_data
(
mask
);
for_each_cpu_mask
(
cpu
,
*
mask
)
{
...
...
arch/sparc/kernel/mdesc.c
浏览文件 @
b696fdc2
...
...
@@ -861,7 +861,6 @@ void __cpuinit mdesc_fill_in_cpu_data(cpumask_t *mask)
{
struct
mdesc_handle
*
hp
;
mdesc_populate_present_mask
(
mask
);
mdesc_iterate_over_cpus
(
fill_in_one_cpu
,
NULL
,
mask
);
#ifdef CONFIG_SMP
...
...
arch/sparc/kernel/prom_64.c
浏览文件 @
b696fdc2
...
...
@@ -535,7 +535,6 @@ void __init of_fill_in_cpu_data(void)
if
(
tlb_type
==
hypervisor
)
return
;
of_populate_present_mask
();
of_iterate_over_cpus
(
fill_in_one_cpu
,
0
);
smp_fill_in_sib_core_maps
();
...
...
arch/sparc/kernel/smp_64.c
浏览文件 @
b696fdc2
...
...
@@ -1399,4 +1399,8 @@ void __init real_setup_per_cpu_areas(void)
/* Setup %g5 for the boot cpu. */
__local_per_cpu_offset
=
__per_cpu_offset
(
smp_processor_id
());
of_fill_in_cpu_data
();
if
(
tlb_type
==
hypervisor
)
mdesc_fill_in_cpu_data
(
CPU_MASK_ALL_PTR
);
}
arch/sparc/mm/init_64.c
浏览文件 @
b696fdc2
...
...
@@ -1799,20 +1799,16 @@ void __init paging_init(void)
if
(
tlb_type
==
hypervisor
)
sun4v_ktsb_register
();
/* We must setup the per-cpu areas before we pull in the
* PROM and the MDESC. The code there fills in cpu and
* other information into per-cpu data structures.
*/
real_setup_per_cpu_areas
();
prom_build_devicetree
();
of_
fill_in_cpu_data
();
of_
populate_present_mask
();
if
(
tlb_type
==
hypervisor
)
{
sun4v_mdesc_init
();
mdesc_
fill_in_cpu_data
(
CPU_MASK_ALL_PTR
);
mdesc_
populate_present_mask
(
CPU_MASK_ALL_PTR
);
}
real_setup_per_cpu_areas
();
/* Once the OF device tree and MDESC have been setup, we know
* the list of possible cpus. Therefore we can allocate the
* IRQ stacks.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录