Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xiphi1978
linux
提交
86969cf7
L
linux
项目概览
xiphi1978
/
linux
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
linux
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
86969cf7
编写于
5月 28, 2014
作者:
B
Benjamin Herrenschmidt
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'merge' into next
Merge the binutils and kexec fixes.
上级
b9d80095
011e4b02
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
18 addition
and
3 deletion
+18
-3
arch/powerpc/Makefile
arch/powerpc/Makefile
+3
-1
arch/powerpc/include/asm/ppc_asm.h
arch/powerpc/include/asm/ppc_asm.h
+6
-1
arch/powerpc/kernel/machine_kexec_64.c
arch/powerpc/kernel/machine_kexec_64.c
+1
-1
kernel/kexec.c
kernel/kexec.c
+8
-0
未找到文件。
arch/powerpc/Makefile
浏览文件 @
86969cf7
...
...
@@ -155,7 +155,9 @@ endif
CFLAGS-$(CONFIG_TUNE_CELL)
+=
$(
call
cc-option,-mtune
=
cell
)
KBUILD_CPPFLAGS
+=
-Iarch
/
$(ARCH)
asinstr
:=
$(
call
as-instr,lis 9
$(comma)
foo@high,-DHAVE_AS_ATHIGH
=
1
)
KBUILD_CPPFLAGS
+=
-Iarch
/
$(ARCH)
$(asinstr)
KBUILD_AFLAGS
+=
-Iarch
/
$(ARCH)
$
(
AFLAGS-y
)
KBUILD_CFLAGS
+=
-msoft-float
-pipe
-Iarch
/
$(ARCH)
$
(
CFLAGS-y
)
CPP
=
$(CC)
-E
$(KBUILD_CFLAGS)
...
...
arch/powerpc/include/asm/ppc_asm.h
浏览文件 @
86969cf7
...
...
@@ -322,11 +322,16 @@ GLUE(.,name):
addi reg,reg,(name - 0b)@l;
#ifdef __powerpc64__
#ifdef HAVE_AS_ATHIGH
#define __AS_ATHIGH high
#else
#define __AS_ATHIGH h
#endif
#define LOAD_REG_IMMEDIATE(reg,expr) \
lis reg,(expr)@highest; \
ori reg,reg,(expr)@higher; \
rldicr reg,reg,32,31; \
oris reg,reg,(expr)@
h;
\
oris reg,reg,(expr)@
__AS_ATHIGH;
\
ori reg,reg,(expr)@l;
#define LOAD_REG_ADDR(reg,name) \
...
...
arch/powerpc/kernel/machine_kexec_64.c
浏览文件 @
86969cf7
...
...
@@ -237,7 +237,7 @@ static void wake_offline_cpus(void)
if
(
!
cpu_online
(
cpu
))
{
printk
(
KERN_INFO
"kexec: Waking offline cpu %d.
\n
"
,
cpu
);
cpu_up
(
cpu
);
WARN_ON
(
cpu_up
(
cpu
)
);
}
}
}
...
...
kernel/kexec.c
浏览文件 @
86969cf7
...
...
@@ -1683,6 +1683,14 @@ int kernel_kexec(void)
kexec_in_progress
=
true
;
kernel_restart_prepare
(
NULL
);
migrate_to_reboot_cpu
();
/*
* migrate_to_reboot_cpu() disables CPU hotplug assuming that
* no further code needs to use CPU hotplug (which is true in
* the reboot case). However, the kexec path depends on using
* CPU hotplug again; so re-enable it here.
*/
cpu_hotplug_enable
();
printk
(
KERN_EMERG
"Starting new kernel
\n
"
);
machine_shutdown
();
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录