Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
bab4b27c
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看板
提交
bab4b27c
编写于
5月 19, 2008
作者:
A
Alexey Starikovskiy
提交者:
Thomas Gleixner
5月 25, 2008
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
x86: move smp_found_config
上级
f3918352
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
12 addition
and
12 deletion
+12
-12
arch/x86/kernel/apic_32.c
arch/x86/kernel/apic_32.c
+3
-0
arch/x86/kernel/apic_64.c
arch/x86/kernel/apic_64.c
+3
-0
arch/x86/kernel/mpparse.c
arch/x86/kernel/mpparse.c
+4
-4
arch/x86/mach-visws/mpparse.c
arch/x86/mach-visws/mpparse.c
+2
-3
arch/x86/mach-voyager/voyager_smp.c
arch/x86/mach-voyager/voyager_smp.c
+0
-5
未找到文件。
arch/x86/kernel/apic_32.c
浏览文件 @
bab4b27c
...
...
@@ -78,6 +78,9 @@ int apic_verbosity;
int
pic_mode
;
/* Have we found an MP table */
int
smp_found_config
;
static
unsigned
int
calibration_result
;
static
int
lapic_next_event
(
unsigned
long
delta
,
...
...
arch/x86/kernel/apic_64.c
浏览文件 @
bab4b27c
...
...
@@ -56,6 +56,9 @@ EXPORT_SYMBOL_GPL(local_apic_timer_c2_ok);
*/
int
apic_verbosity
;
/* Have we found an MP table */
int
smp_found_config
;
static
struct
resource
lapic_resource
=
{
.
name
=
"Local APIC"
,
.
flags
=
IORESOURCE_MEM
|
IORESOURCE_BUSY
,
...
...
arch/x86/kernel/mpparse.c
浏览文件 @
bab4b27c
...
...
@@ -32,9 +32,6 @@
#include <mach_mpparse.h>
#endif
/* Have we found an MP table */
int
smp_found_config
;
/*
* Various Linux-internal data structures created from the
* MP-table.
...
...
@@ -639,7 +636,9 @@ static void __init __get_smp_config(unsigned early)
* override the defaults.
*/
if
(
!
smp_read_mpc
(
phys_to_virt
(
mpf
->
mpf_physptr
),
early
))
{
#ifdef CONFIG_X86_LOCAL_APIC
smp_found_config
=
0
;
#endif
printk
(
KERN_ERR
"BIOS bug, MP table errors detected!...
\n
"
);
printk
(
KERN_ERR
"... disabling SMP support. "
...
...
@@ -706,8 +705,9 @@ static int __init smp_scan_config(unsigned long base, unsigned long length,
!
mpf_checksum
((
unsigned
char
*
)
bp
,
16
)
&&
((
mpf
->
mpf_specification
==
1
)
||
(
mpf
->
mpf_specification
==
4
)))
{
#ifdef CONFIG_X86_LOCAL_APIC
smp_found_config
=
1
;
#endif
mpf_found
=
mpf
;
#ifdef CONFIG_X86_32
printk
(
KERN_INFO
"found SMP MP-table at [%p] %08lx
\n
"
,
...
...
arch/x86/mach-visws/mpparse.c
浏览文件 @
bab4b27c
...
...
@@ -8,9 +8,6 @@
#include "cobalt.h"
#include "mach_apic.h"
/* Have we found an MP table */
int
smp_found_config
;
extern
unsigned
int
__cpuinitdata
maxcpus
;
/*
...
...
@@ -74,7 +71,9 @@ void __init find_smp_config(void)
if
(
ncpus
>
maxcpus
)
ncpus
=
maxcpus
;
#ifdef CONFIG_X86_LOCAL_APIC
smp_found_config
=
1
;
#endif
while
(
ncpus
--
)
MP_processor_info
(
mp
++
);
...
...
arch/x86/mach-voyager/voyager_smp.c
浏览文件 @
bab4b27c
...
...
@@ -59,11 +59,6 @@ __u32 voyager_quad_processors = 0;
* activity count. Finally exported by i386_ksyms.c */
static
int
voyager_extended_cpus
=
1
;
/* Have we found an SMP box - used by time.c to do the profiling
interrupt for timeslicing; do not set to 1 until the per CPU timer
interrupt is active */
int
smp_found_config
=
0
;
/* Used for the invalidate map that's also checked in the spinlock */
static
volatile
unsigned
long
smp_invalidate_needed
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录