Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
d7b01f78
K
Kernel
项目概览
openeuler
/
Kernel
1 年多 前同步成功
通知
8
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
d7b01f78
编写于
12月 10, 2008
作者:
P
Paul Mundt
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
sh: Enable HAVE_ARCH_TRACEHOOK for all SH, now that SH-5 supports it too.
Signed-off-by:
N
Paul Mundt
<
lethal@linux-sh.org
>
上级
dd76279b
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
4 addition
and
4 deletion
+4
-4
arch/sh/Kconfig
arch/sh/Kconfig
+1
-1
arch/sh/include/asm/processor_64.h
arch/sh/include/asm/processor_64.h
+1
-1
arch/sh/include/asm/syscall_64.h
arch/sh/include/asm/syscall_64.h
+2
-2
未找到文件。
arch/sh/Kconfig
浏览文件 @
d7b01f78
...
@@ -13,6 +13,7 @@ config SUPERH
...
@@ -13,6 +13,7 @@ config SUPERH
select HAVE_OPROFILE
select HAVE_OPROFILE
select HAVE_GENERIC_DMA_COHERENT
select HAVE_GENERIC_DMA_COHERENT
select HAVE_IOREMAP_PROT if MMU
select HAVE_IOREMAP_PROT if MMU
select HAVE_ARCH_TRACEHOOK
help
help
The SuperH is a RISC processor targeted for use in embedded systems
The SuperH is a RISC processor targeted for use in embedded systems
and consumer electronics; it was also used in the Sega Dreamcast
and consumer electronics; it was also used in the Sega Dreamcast
...
@@ -23,7 +24,6 @@ config SUPERH32
...
@@ -23,7 +24,6 @@ config SUPERH32
def_bool !SUPERH64
def_bool !SUPERH64
select HAVE_KPROBES
select HAVE_KPROBES
select HAVE_KRETPROBES
select HAVE_KRETPROBES
select HAVE_ARCH_TRACEHOOK
select HAVE_FUNCTION_TRACER
select HAVE_FUNCTION_TRACER
select HAVE_FTRACE_MCOUNT_RECORD
select HAVE_FTRACE_MCOUNT_RECORD
select HAVE_DYNAMIC_FTRACE
select HAVE_DYNAMIC_FTRACE
...
...
arch/sh/include/asm/processor_64.h
浏览文件 @
d7b01f78
...
@@ -226,7 +226,7 @@ extern unsigned long get_wchan(struct task_struct *p);
...
@@ -226,7 +226,7 @@ extern unsigned long get_wchan(struct task_struct *p);
#define KSTK_EIP(tsk) ((tsk)->thread.pc)
#define KSTK_EIP(tsk) ((tsk)->thread.pc)
#define KSTK_ESP(tsk) ((tsk)->thread.sp)
#define KSTK_ESP(tsk) ((tsk)->thread.sp)
#define user_stack_pointer(regs) ((regs)->
sp
)
#define user_stack_pointer(regs) ((regs)->
regs[15]
)
#endif
/* __ASSEMBLY__ */
#endif
/* __ASSEMBLY__ */
#endif
/* __ASM_SH_PROCESSOR_64_H */
#endif
/* __ASM_SH_PROCESSOR_64_H */
arch/sh/include/asm/syscall_64.h
浏览文件 @
d7b01f78
...
@@ -65,7 +65,7 @@ static inline void syscall_get_arguments(struct task_struct *task,
...
@@ -65,7 +65,7 @@ static inline void syscall_get_arguments(struct task_struct *task,
unsigned
long
*
args
)
unsigned
long
*
args
)
{
{
BUG_ON
(
i
+
n
>
6
);
BUG_ON
(
i
+
n
>
6
);
memcpy
(
args
,
&
regs
->
reg
[
2
+
i
],
n
*
sizeof
(
args
[
0
]));
memcpy
(
args
,
&
regs
->
reg
s
[
2
+
i
],
n
*
sizeof
(
args
[
0
]));
}
}
static
inline
void
syscall_set_arguments
(
struct
task_struct
*
task
,
static
inline
void
syscall_set_arguments
(
struct
task_struct
*
task
,
...
@@ -74,7 +74,7 @@ static inline void syscall_set_arguments(struct task_struct *task,
...
@@ -74,7 +74,7 @@ static inline void syscall_set_arguments(struct task_struct *task,
const
unsigned
long
*
args
)
const
unsigned
long
*
args
)
{
{
BUG_ON
(
i
+
n
>
6
);
BUG_ON
(
i
+
n
>
6
);
memcpy
(
&
regs
->
reg
[
2
+
i
],
args
,
n
*
sizeof
(
args
[
0
]));
memcpy
(
&
regs
->
reg
s
[
2
+
i
],
args
,
n
*
sizeof
(
args
[
0
]));
}
}
#endif
/* __ASM_SH_SYSCALL_64_H */
#endif
/* __ASM_SH_SYSCALL_64_H */
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录