Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
1f75ed0c
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看板
提交
1f75ed0c
编写于
1月 28, 2009
作者:
I
Ingo Molnar
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
x86: remove mach_apicdef.h
Move its definitions into apic.h. Signed-off-by:
N
Ingo Molnar
<
mingo@elte.hu
>
上级
b2af018f
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
18 addition
and
40 deletion
+18
-40
arch/x86/include/asm/apic.h
arch/x86/include/asm/apic.h
+16
-0
arch/x86/include/asm/mach-default/mach_apic.h
arch/x86/include/asm/mach-default/mach_apic.h
+0
-1
arch/x86/include/asm/mach-default/mach_apicdef.h
arch/x86/include/asm/mach-default/mach_apicdef.h
+0
-22
arch/x86/include/asm/mach-generic/mach_apicdef.h
arch/x86/include/asm/mach-generic/mach_apicdef.h
+0
-8
arch/x86/include/asm/smp.h
arch/x86/include/asm/smp.h
+2
-2
arch/x86/kernel/apic.c
arch/x86/kernel/apic.c
+0
-1
arch/x86/kernel/genapic_flat_64.c
arch/x86/kernel/genapic_flat_64.c
+0
-1
arch/x86/kernel/io_apic.c
arch/x86/kernel/io_apic.c
+0
-1
arch/x86/kernel/mpparse.c
arch/x86/kernel/mpparse.c
+0
-3
arch/x86/mach-generic/default.c
arch/x86/mach-generic/default.c
+0
-1
未找到文件。
arch/x86/include/asm/apic.h
浏览文件 @
1f75ed0c
...
...
@@ -211,4 +211,20 @@ static inline void disable_local_APIC(void) { }
#endif
/* !CONFIG_X86_LOCAL_APIC */
#ifdef CONFIG_X86_64
#define SET_APIC_ID(x) (apic->set_apic_id(x))
#else
static
inline
unsigned
default_get_apic_id
(
unsigned
long
x
)
{
unsigned
int
ver
=
GET_APIC_VERSION
(
apic_read
(
APIC_LVR
));
if
(
APIC_XAPIC
(
ver
))
return
(
x
>>
24
)
&
0xFF
;
else
return
(
x
>>
24
)
&
0x0F
;
}
#endif
#endif
/* _ASM_X86_APIC_H */
arch/x86/include/asm/mach-default/mach_apic.h
浏览文件 @
1f75ed0c
...
...
@@ -3,7 +3,6 @@
#ifdef CONFIG_X86_LOCAL_APIC
#include <mach_apicdef.h>
#include <asm/smp.h>
#define APIC_DFR_VALUE (APIC_DFR_FLAT)
...
...
arch/x86/include/asm/mach-default/mach_apicdef.h
已删除
100644 → 0
浏览文件 @
b2af018f
#ifndef _ASM_X86_MACH_DEFAULT_MACH_APICDEF_H
#define _ASM_X86_MACH_DEFAULT_MACH_APICDEF_H
#include <asm/apic.h>
#ifdef CONFIG_X86_64
#define SET_APIC_ID(x) (apic->set_apic_id(x))
#else
static
inline
unsigned
default_get_apic_id
(
unsigned
long
x
)
{
unsigned
int
ver
=
GET_APIC_VERSION
(
apic_read
(
APIC_LVR
));
if
(
APIC_XAPIC
(
ver
))
return
(
x
>>
24
)
&
0xFF
;
else
return
(
x
>>
24
)
&
0x0F
;
}
#endif
#endif
/* _ASM_X86_MACH_DEFAULT_MACH_APICDEF_H */
arch/x86/include/asm/mach-generic/mach_apicdef.h
已删除
100644 → 0
浏览文件 @
b2af018f
#ifndef _ASM_X86_MACH_GENERIC_MACH_APICDEF_H
#define _ASM_X86_MACH_GENERIC_MACH_APICDEF_H
#ifndef APIC_DEFINITION
#include <asm/genapic.h>
#endif
#endif
/* _ASM_X86_MACH_GENERIC_MACH_APICDEF_H */
arch/x86/include/asm/smp.h
浏览文件 @
1f75ed0c
...
...
@@ -173,6 +173,8 @@ extern int safe_smp_processor_id(void);
#endif
#include <asm/genapic.h>
#ifdef CONFIG_X86_LOCAL_APIC
#ifndef CONFIG_X86_64
...
...
@@ -182,7 +184,6 @@ static inline int logical_smp_processor_id(void)
return
GET_APIC_LOGICAL_ID
(
*
(
u32
*
)(
APIC_BASE
+
APIC_LDR
));
}
#include <mach_apicdef.h>
static
inline
unsigned
int
read_apic_id
(
void
)
{
unsigned
int
reg
;
...
...
@@ -197,7 +198,6 @@ static inline unsigned int read_apic_id(void)
# if defined(APIC_DEFINITION) || defined(CONFIG_X86_64)
extern
int
hard_smp_processor_id
(
void
);
# else
#include <mach_apicdef.h>
static
inline
int
hard_smp_processor_id
(
void
)
{
/* we don't want to mark this access volatile - bad code generation */
...
...
arch/x86/kernel/apic.c
浏览文件 @
1f75ed0c
...
...
@@ -50,7 +50,6 @@
#include <asm/smp.h>
#include <mach_apic.h>
#include <mach_apicdef.h>
#include <mach_ipi.h>
/*
...
...
arch/x86/kernel/genapic_flat_64.c
浏览文件 @
1f75ed0c
...
...
@@ -19,7 +19,6 @@
#include <asm/smp.h>
#include <asm/ipi.h>
#include <asm/genapic.h>
#include <mach_apicdef.h>
#ifdef CONFIG_ACPI
#include <acpi/acpi_bus.h>
...
...
arch/x86/kernel/io_apic.c
浏览文件 @
1f75ed0c
...
...
@@ -64,7 +64,6 @@
#include <mach_ipi.h>
#include <mach_apic.h>
#include <mach_apicdef.h>
#define __apicdebuginit(type) static type __init
...
...
arch/x86/kernel/mpparse.c
浏览文件 @
1f75ed0c
...
...
@@ -30,9 +30,6 @@
#include <asm/smp.h>
#include <mach_apic.h>
#ifdef CONFIG_X86_32
#include <mach_apicdef.h>
#endif
/*
* Checksum an MP configuration block.
...
...
arch/x86/mach-generic/default.c
浏览文件 @
1f75ed0c
...
...
@@ -5,7 +5,6 @@
#include <linux/threads.h>
#include <linux/cpumask.h>
#include <asm/mpspec.h>
#include <asm/mach-default/mach_apicdef.h>
#include <asm/genapic.h>
#include <asm/fixmap.h>
#include <asm/apicdef.h>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录