Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
6cd59f7a
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看板
提交
6cd59f7a
编写于
7月 13, 2005
作者:
L
Linus Torvalds
浏览文件
操作
浏览文件
下载
差异文件
Merge /home/torvalds/linux-2.6-arm
上级
c32511e2
73eb7d9e
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
9 addition
and
12 deletion
+9
-12
arch/arm/kernel/smp.c
arch/arm/kernel/smp.c
+4
-3
arch/arm/mach-integrator/platsmp.c
arch/arm/mach-integrator/platsmp.c
+5
-3
arch/arm/mach-omap1/leds-h2p2-debug.c
arch/arm/mach-omap1/leds-h2p2-debug.c
+0
-1
arch/arm/nwfpe/fpmodule.c
arch/arm/nwfpe/fpmodule.c
+0
-1
arch/arm/plat-omap/ocpi.c
arch/arm/plat-omap/ocpi.c
+0
-1
include/asm-arm/smp.h
include/asm-arm/smp.h
+0
-3
未找到文件。
arch/arm/kernel/smp.c
浏览文件 @
6cd59f7a
...
...
@@ -36,7 +36,7 @@
* The present bitmask indicates that the CPU is physically present.
* The online bitmask indicates that the CPU is up and running.
*/
cpumask_t
cpu_p
resent_mask
;
cpumask_t
cpu_p
ossible_map
;
cpumask_t
cpu_online_map
;
/*
...
...
@@ -235,7 +235,8 @@ void __init smp_prepare_boot_cpu(void)
{
unsigned
int
cpu
=
smp_processor_id
();
cpu_set
(
cpu
,
cpu_present_mask
);
cpu_set
(
cpu
,
cpu_possible_map
);
cpu_set
(
cpu
,
cpu_present_map
);
cpu_set
(
cpu
,
cpu_online_map
);
}
...
...
@@ -355,7 +356,7 @@ void show_ipi_list(struct seq_file *p)
seq_puts
(
p
,
"IPI:"
);
for_each_
online
_cpu
(
cpu
)
for_each_
present
_cpu
(
cpu
)
seq_printf
(
p
,
" %10lu"
,
per_cpu
(
ipi_data
,
cpu
).
ipi_count
);
seq_putc
(
p
,
'\n'
);
...
...
arch/arm/mach-integrator/platsmp.c
浏览文件 @
6cd59f7a
...
...
@@ -174,11 +174,13 @@ void __init smp_prepare_cpus(unsigned int max_cpus)
max_cpus
=
ncores
;
/*
* Initialise the present mask - this tells us which CPUs should
* be present.
* Initialise the possible/present maps.
* cpu_possible_map describes the set of CPUs which may be present
* cpu_present_map describes the set of CPUs populated
*/
for
(
i
=
0
;
i
<
max_cpus
;
i
++
)
{
cpu_set
(
i
,
cpu_present_mask
);
cpu_set
(
i
,
cpu_possible_map
);
cpu_set
(
i
,
cpu_present_map
);
}
/*
...
...
arch/arm/mach-omap1/leds-h2p2-debug.c
浏览文件 @
6cd59f7a
...
...
@@ -13,7 +13,6 @@
#include <linux/init.h>
#include <linux/kernel_stat.h>
#include <linux/sched.h>
#include <linux/version.h>
#include <asm/io.h>
#include <asm/hardware.h>
...
...
arch/arm/nwfpe/fpmodule.c
浏览文件 @
6cd59f7a
...
...
@@ -24,7 +24,6 @@
#include "fpa11.h"
#include <linux/module.h>
#include <linux/version.h>
#include <linux/config.h>
/* XXX */
...
...
arch/arm/plat-omap/ocpi.c
浏览文件 @
6cd59f7a
...
...
@@ -25,7 +25,6 @@
#include <linux/config.h>
#include <linux/module.h>
#include <linux/version.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/kernel.h>
...
...
include/asm-arm/smp.h
浏览文件 @
6cd59f7a
...
...
@@ -23,9 +23,6 @@
#define raw_smp_processor_id() (current_thread_info()->cpu)
extern
cpumask_t
cpu_present_mask
;
#define cpu_possible_map cpu_present_mask
/*
* at the moment, there's not a big penalty for changing CPUs
* (the >big< penalty is running SMP in the first place)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录