Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
9d549a7d
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看板
提交
9d549a7d
编写于
9月 27, 2006
作者:
P
Paul Mundt
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
sh: Update kexec support for API changes.
This was falling a bit behind.. Signed-off-by:
N
Paul Mundt
<
lethal@linux-sh.org
>
上级
05ae9158
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
3 addition
and
22 deletion
+3
-22
arch/sh/kernel/machine_kexec.c
arch/sh/kernel/machine_kexec.c
+0
-6
arch/sh/kernel/process.c
arch/sh/kernel/process.c
+0
-10
include/asm-sh/kexec.h
include/asm-sh/kexec.h
+3
-6
未找到文件。
arch/sh/kernel/machine_kexec.c
浏览文件 @
9d549a7d
...
...
@@ -29,12 +29,6 @@ extern const unsigned char relocate_new_kernel[];
extern
const
unsigned
int
relocate_new_kernel_size
;
extern
void
*
gdb_vbr_vector
;
/*
* Provide a dummy crash_notes definition while crash dump arrives to ppc.
* This prevents breakage of crash_notes attribute in kernel/ksysfs.c.
*/
void
*
crash_notes
=
NULL
;
void
machine_shutdown
(
void
)
{
}
...
...
arch/sh/kernel/process.c
浏览文件 @
9d549a7d
...
...
@@ -81,16 +81,6 @@ void cpu_idle(void)
void
machine_restart
(
char
*
__unused
)
{
#ifdef CONFIG_KEXEC
struct
kimage
*
image
;
image
=
xchg
(
&
kexec_image
,
0
);
if
(
image
)
{
machine_shutdown
();
machine_kexec
(
image
);
}
#endif
/* SR.BL=1 and invoke address error to let CPU reset (manual reset) */
asm
volatile
(
"ldc %0, sr
\n\t
"
"mov.l @%1, %0"
:
:
"r"
(
0x10000000
),
"r"
(
0x80000001
));
...
...
include/asm-sh/kexec.h
浏览文件 @
9d549a7d
...
...
@@ -25,11 +25,8 @@
#define MAX_NOTE_BYTES 1024
#ifndef __ASSEMBLY__
extern
void
machine_shutdown
(
void
);
extern
void
*
crash_notes
;
#endif
/* __ASSEMBLY__ */
/* Provide a dummy definition to avoid build failures. */
static
inline
void
crash_setup_regs
(
struct
pt_regs
*
newregs
,
struct
pt_regs
*
oldregs
)
{
}
#endif
/* _SH_KEXEC_H */
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录