Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
18c26c27
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
14
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看板
提交
18c26c27
编写于
10月 22, 2012
作者:
A
Al Viro
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
death to idle_regs()
Signed-off-by:
N
Al Viro
<
viro@zeniv.linux.org.uk
>
上级
62e791c1
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
0 addition
and
22 deletion
+0
-22
arch/ia64/kernel/smpboot.c
arch/ia64/kernel/smpboot.c
+0
-5
arch/x86/include/asm/processor.h
arch/x86/include/asm/processor.h
+0
-2
arch/x86/kernel/cpu/common.c
arch/x86/kernel/cpu/common.c
+0
-9
kernel/fork.c
kernel/fork.c
+0
-6
未找到文件。
arch/ia64/kernel/smpboot.c
浏览文件 @
18c26c27
...
@@ -460,11 +460,6 @@ start_secondary (void *unused)
...
@@ -460,11 +460,6 @@ start_secondary (void *unused)
return
0
;
return
0
;
}
}
struct
pt_regs
*
__cpuinit
idle_regs
(
struct
pt_regs
*
regs
)
{
return
NULL
;
}
static
int
__cpuinit
static
int
__cpuinit
do_boot_cpu
(
int
sapicid
,
int
cpu
,
struct
task_struct
*
idle
)
do_boot_cpu
(
int
sapicid
,
int
cpu
,
struct
task_struct
*
idle
)
{
{
...
...
arch/x86/include/asm/processor.h
浏览文件 @
18c26c27
...
@@ -178,8 +178,6 @@ static inline int hlt_works(int cpu)
...
@@ -178,8 +178,6 @@ static inline int hlt_works(int cpu)
extern
void
cpu_detect
(
struct
cpuinfo_x86
*
c
);
extern
void
cpu_detect
(
struct
cpuinfo_x86
*
c
);
extern
struct
pt_regs
*
idle_regs
(
struct
pt_regs
*
);
extern
void
early_cpu_init
(
void
);
extern
void
early_cpu_init
(
void
);
extern
void
identify_boot_cpu
(
void
);
extern
void
identify_boot_cpu
(
void
);
extern
void
identify_secondary_cpu
(
struct
cpuinfo_x86
*
);
extern
void
identify_secondary_cpu
(
struct
cpuinfo_x86
*
);
...
...
arch/x86/kernel/cpu/common.c
浏览文件 @
18c26c27
...
@@ -1173,15 +1173,6 @@ DEFINE_PER_CPU(struct task_struct *, fpu_owner_task);
...
@@ -1173,15 +1173,6 @@ DEFINE_PER_CPU(struct task_struct *, fpu_owner_task);
DEFINE_PER_CPU_ALIGNED
(
struct
stack_canary
,
stack_canary
);
DEFINE_PER_CPU_ALIGNED
(
struct
stack_canary
,
stack_canary
);
#endif
#endif
/* Make sure %fs and %gs are initialized properly in idle threads */
struct
pt_regs
*
__cpuinit
idle_regs
(
struct
pt_regs
*
regs
)
{
memset
(
regs
,
0
,
sizeof
(
struct
pt_regs
));
regs
->
fs
=
__KERNEL_PERCPU
;
regs
->
gs
=
__KERNEL_STACK_CANARY
;
return
regs
;
}
#endif
/* CONFIG_X86_64 */
#endif
/* CONFIG_X86_64 */
/*
/*
...
...
kernel/fork.c
浏览文件 @
18c26c27
...
@@ -1514,12 +1514,6 @@ static struct task_struct *copy_process(unsigned long clone_flags,
...
@@ -1514,12 +1514,6 @@ static struct task_struct *copy_process(unsigned long clone_flags,
return
ERR_PTR
(
retval
);
return
ERR_PTR
(
retval
);
}
}
noinline
struct
pt_regs
*
__cpuinit
__attribute__
((
weak
))
idle_regs
(
struct
pt_regs
*
regs
)
{
memset
(
regs
,
0
,
sizeof
(
struct
pt_regs
));
return
regs
;
}
static
inline
void
init_idle_pids
(
struct
pid_link
*
links
)
static
inline
void
init_idle_pids
(
struct
pid_link
*
links
)
{
{
enum
pid_type
type
;
enum
pid_type
type
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录