Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
kernel_linux
提交
da342326
K
kernel_linux
项目概览
OpenHarmony
/
kernel_linux
上一次同步 3 年多
通知
13
Star
8
Fork
2
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
kernel_linux
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
da342326
编写于
11月 12, 2015
作者:
R
Ralf Baechle
浏览文件
操作
浏览文件
下载
差异文件
Merge branch '4.3-fixes' into mips-for-linux-next
上级
bf463f2f
3bfb7224
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
26 addition
and
4 deletion
+26
-4
arch/mips/include/asm/atomic.h
arch/mips/include/asm/atomic.h
+1
-1
arch/mips/include/asm/cdmm.h
arch/mips/include/asm/cdmm.h
+11
-0
arch/mips/kernel/idle.c
arch/mips/kernel/idle.c
+3
-2
arch/mips/kernel/traps.c
arch/mips/kernel/traps.c
+2
-0
arch/mips/kernel/vmlinux.lds.S
arch/mips/kernel/vmlinux.lds.S
+9
-1
未找到文件。
arch/mips/include/asm/atomic.h
浏览文件 @
da342326
...
...
@@ -507,7 +507,7 @@ static __inline__ long atomic64_sub_if_positive(long i, atomic64_t * v)
* @u: ...unless v is equal to u.
*
* Atomically adds @a to @v, so long as it was not @u.
* Returns t
he old value of @v
.
* Returns t
rue iff @v was not @u
.
*/
static
__inline__
int
atomic64_add_unless
(
atomic64_t
*
v
,
long
a
,
long
u
)
{
...
...
arch/mips/include/asm/cdmm.h
浏览文件 @
da342326
...
...
@@ -84,6 +84,17 @@ void mips_cdmm_driver_unregister(struct mips_cdmm_driver *);
module_driver(__mips_cdmm_driver, mips_cdmm_driver_register, \
mips_cdmm_driver_unregister)
/*
* builtin_mips_cdmm_driver() - Helper macro for drivers that don't do anything
* special in init and have no exit. This eliminates some boilerplate. Each
* driver may only use this macro once, and calling it replaces device_initcall
* (or in some cases, the legacy __initcall). This is meant to be a direct
* parallel of module_mips_cdmm_driver() above but without the __exit stuff that
* is not used for builtin cases.
*/
#define builtin_mips_cdmm_driver(__mips_cdmm_driver) \
builtin_driver(__mips_cdmm_driver, mips_cdmm_driver_register)
/* drivers/tty/mips_ejtag_fdc.c */
#ifdef CONFIG_MIPS_EJTAG_FDC_EARLYCON
...
...
arch/mips/kernel/idle.c
浏览文件 @
da342326
...
...
@@ -171,7 +171,6 @@ void __init check_wait(void)
case
CPU_BMIPS3300
:
case
CPU_BMIPS4350
:
case
CPU_BMIPS4380
:
case
CPU_BMIPS5000
:
case
CPU_CAVIUM_OCTEON
:
case
CPU_CAVIUM_OCTEON_PLUS
:
case
CPU_CAVIUM_OCTEON2
:
...
...
@@ -182,7 +181,9 @@ void __init check_wait(void)
case
CPU_XLP
:
cpu_wait
=
r4k_wait
;
break
;
case
CPU_BMIPS5000
:
cpu_wait
=
r4k_wait_irqoff
;
break
;
case
CPU_RM7000
:
cpu_wait
=
rm7k_wait_irqoff
;
break
;
...
...
arch/mips/kernel/traps.c
浏览文件 @
da342326
...
...
@@ -1857,12 +1857,14 @@ void __noreturn nmi_exception_handler(struct pt_regs *regs)
{
char
str
[
100
];
nmi_enter
();
raw_notifier_call_chain
(
&
nmi_chain
,
0
,
regs
);
bust_spinlocks
(
1
);
snprintf
(
str
,
100
,
"CPU%d NMI taken, CP0_EPC=%lx
\n
"
,
smp_processor_id
(),
regs
->
cp0_epc
);
regs
->
cp0_epc
=
read_c0_errorepc
();
die
(
str
,
regs
);
nmi_exit
();
}
#define VECTORSPACING 0x100
/* for EI/VI mode */
...
...
arch/mips/kernel/vmlinux.lds.S
浏览文件 @
da342326
...
...
@@ -17,7 +17,9 @@ OUTPUT_ARCH(mips)
ENTRY
(
kernel_entry
)
PHDRS
{
text
PT_LOAD
FLAGS
(
7
)
; /* RWX */
#ifndef CONFIG_CAVIUM_OCTEON_SOC
note
PT_NOTE
FLAGS
(
4
)
; /* R__ */
#endif /* CAVIUM_OCTEON_SOC */
}
#ifdef CONFIG_32BIT
...
...
@@ -71,7 +73,12 @@ SECTIONS
__stop___dbe_table
=
.
;
}
NOTES
:
text
:
note
#ifdef CONFIG_CAVIUM_OCTEON_SOC
#define NOTES_HEADER
#else /* CONFIG_CAVIUM_OCTEON_SOC */
#define NOTES_HEADER :note
#endif /* CONFIG_CAVIUM_OCTEON_SOC */
NOTES
:
text
NOTES_HEADER
.
dummy
:
{
*(
.
dummy
)
}
:
text
_sdata
=
.
; /* Start of data section */
...
...
@@ -186,6 +193,7 @@ SECTIONS
DISCARDS
/
DISCARD
/
:
{
/
*
ABI
crap
starts
here
*/
*(.
MIPS.abiflags
)
*(.
MIPS.options
)
*(.
options
)
*(.
pdr
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录