Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Linux-御风守护者
linux
提交
fa41b1c7
L
linux
项目概览
Linux-御风守护者
/
linux
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
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,发现更多精彩内容 >>
提交
fa41b1c7
编写于
3月 30, 2015
作者:
R
Richard Weinberger
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
arch: Remove exec_domain from remaining archs
Signed-off-by:
N
Richard Weinberger
<
richard@nod.at
>
上级
e6de3ca9
变更
21
显示空白变更内容
内联
并排
Showing
21 changed file
with
0 addition
and
39 deletion
+0
-39
arch/alpha/include/asm/thread_info.h
arch/alpha/include/asm/thread_info.h
+0
-2
arch/avr32/include/asm/thread_info.h
arch/avr32/include/asm/thread_info.h
+0
-3
arch/avr32/kernel/asm-offsets.c
arch/avr32/kernel/asm-offsets.c
+0
-1
arch/c6x/include/asm/thread_info.h
arch/c6x/include/asm/thread_info.h
+0
-2
arch/cris/arch-v10/kernel/signal.c
arch/cris/arch-v10/kernel/signal.c
+0
-2
arch/cris/arch-v32/kernel/signal.c
arch/cris/arch-v32/kernel/signal.c
+0
-2
arch/cris/include/asm/thread_info.h
arch/cris/include/asm/thread_info.h
+0
-2
arch/hexagon/include/asm/thread_info.h
arch/hexagon/include/asm/thread_info.h
+0
-2
arch/ia64/include/asm/thread_info.h
arch/ia64/include/asm/thread_info.h
+0
-2
arch/metag/include/asm/thread_info.h
arch/metag/include/asm/thread_info.h
+0
-2
arch/metag/kernel/irq.c
arch/metag/kernel/irq.c
+0
-2
arch/mips/include/asm/thread_info.h
arch/mips/include/asm/thread_info.h
+0
-2
arch/mips/kernel/asm-offsets.c
arch/mips/kernel/asm-offsets.c
+0
-1
arch/nios2/include/asm/thread_info.h
arch/nios2/include/asm/thread_info.h
+0
-2
arch/openrisc/include/asm/thread_info.h
arch/openrisc/include/asm/thread_info.h
+0
-2
arch/openrisc/kernel/signal.c
arch/openrisc/kernel/signal.c
+0
-2
arch/parisc/include/asm/thread_info.h
arch/parisc/include/asm/thread_info.h
+0
-2
arch/parisc/kernel/asm-offsets.c
arch/parisc/kernel/asm-offsets.c
+0
-1
arch/powerpc/include/asm/thread_info.h
arch/powerpc/include/asm/thread_info.h
+0
-2
arch/score/include/asm/thread_info.h
arch/score/include/asm/thread_info.h
+0
-2
arch/score/kernel/asm-offsets.c
arch/score/kernel/asm-offsets.c
+0
-1
未找到文件。
arch/alpha/include/asm/thread_info.h
浏览文件 @
fa41b1c7
...
...
@@ -18,7 +18,6 @@ struct thread_info {
unsigned
int
flags
;
/* low level flags */
unsigned
int
ieee_state
;
/* see fpu.h */
struct
exec_domain
*
exec_domain
;
/* execution domain */
mm_segment_t
addr_limit
;
/* thread address space */
unsigned
cpu
;
/* current CPU */
int
preempt_count
;
/* 0 => preemptable, <0 => BUG */
...
...
@@ -35,7 +34,6 @@ struct thread_info {
#define INIT_THREAD_INFO(tsk) \
{ \
.task = &tsk, \
.exec_domain = &default_exec_domain, \
.addr_limit = KERNEL_DS, \
.preempt_count = INIT_PREEMPT_COUNT, \
}
...
...
arch/avr32/include/asm/thread_info.h
浏览文件 @
fa41b1c7
...
...
@@ -17,11 +17,9 @@
#include <asm/types.h>
struct
task_struct
;
struct
exec_domain
;
struct
thread_info
{
struct
task_struct
*
task
;
/* main task structure */
struct
exec_domain
*
exec_domain
;
/* execution domain */
unsigned
long
flags
;
/* low level flags */
__u32
cpu
;
__s32
preempt_count
;
/* 0 => preemptable, <0 => BUG */
...
...
@@ -36,7 +34,6 @@ struct thread_info {
#define INIT_THREAD_INFO(tsk) \
{ \
.task = &tsk, \
.exec_domain = &default_exec_domain, \
.flags = 0, \
.cpu = 0, \
.preempt_count = INIT_PREEMPT_COUNT, \
...
...
arch/avr32/kernel/asm-offsets.c
浏览文件 @
fa41b1c7
...
...
@@ -12,7 +12,6 @@
void
foo
(
void
)
{
OFFSET
(
TI_task
,
thread_info
,
task
);
OFFSET
(
TI_exec_domain
,
thread_info
,
exec_domain
);
OFFSET
(
TI_flags
,
thread_info
,
flags
);
OFFSET
(
TI_cpu
,
thread_info
,
cpu
);
OFFSET
(
TI_preempt_count
,
thread_info
,
preempt_count
);
...
...
arch/c6x/include/asm/thread_info.h
浏览文件 @
fa41b1c7
...
...
@@ -40,7 +40,6 @@ typedef struct {
*/
struct
thread_info
{
struct
task_struct
*
task
;
/* main task structure */
struct
exec_domain
*
exec_domain
;
/* execution domain */
unsigned
long
flags
;
/* low level flags */
int
cpu
;
/* cpu we're on */
int
preempt_count
;
/* 0 = preemptable, <0 = BUG */
...
...
@@ -55,7 +54,6 @@ struct thread_info {
#define INIT_THREAD_INFO(tsk) \
{ \
.task = &tsk, \
.exec_domain = &default_exec_domain, \
.flags = 0, \
.cpu = 0, \
.preempt_count = INIT_PREEMPT_COUNT, \
...
...
arch/cris/arch-v10/kernel/signal.c
浏览文件 @
fa41b1c7
...
...
@@ -321,8 +321,6 @@ static int setup_rt_frame(struct ksignal *ksig, sigset_t *set,
if
(
err
)
return
-
EFAULT
;
/* TODO what is the current->exec_domain stuff and invmap ? */
/* Set up registers for signal handler */
/* What we enter NOW */
...
...
arch/cris/arch-v32/kernel/signal.c
浏览文件 @
fa41b1c7
...
...
@@ -287,8 +287,6 @@ setup_rt_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs)
if
(
!
access_ok
(
VERIFY_WRITE
,
frame
,
sizeof
(
*
frame
)))
return
-
EFAULT
;
/* TODO: what is the current->exec_domain stuff and invmap ? */
err
|=
__put_user
(
&
frame
->
info
,
&
frame
->
pinfo
);
err
|=
__put_user
(
&
frame
->
uc
,
&
frame
->
puc
);
err
|=
copy_siginfo_to_user
(
&
frame
->
info
,
&
ksig
->
info
);
...
...
arch/cris/include/asm/thread_info.h
浏览文件 @
fa41b1c7
...
...
@@ -28,7 +28,6 @@
#ifndef __ASSEMBLY__
struct
thread_info
{
struct
task_struct
*
task
;
/* main task structure */
struct
exec_domain
*
exec_domain
;
/* execution domain */
unsigned
long
flags
;
/* low level flags */
__u32
cpu
;
/* current CPU */
int
preempt_count
;
/* 0 => preemptable, <0 => BUG */
...
...
@@ -50,7 +49,6 @@ struct thread_info {
#define INIT_THREAD_INFO(tsk) \
{ \
.task = &tsk, \
.exec_domain = &default_exec_domain, \
.flags = 0, \
.cpu = 0, \
.preempt_count = INIT_PREEMPT_COUNT, \
...
...
arch/hexagon/include/asm/thread_info.h
浏览文件 @
fa41b1c7
...
...
@@ -47,7 +47,6 @@ typedef struct {
struct
thread_info
{
struct
task_struct
*
task
;
/* main task structure */
struct
exec_domain
*
exec_domain
;
/* execution domain */
unsigned
long
flags
;
/* low level flags */
__u32
cpu
;
/* current cpu */
int
preempt_count
;
/* 0=>preemptible,<0=>BUG */
...
...
@@ -77,7 +76,6 @@ struct thread_info {
#define INIT_THREAD_INFO(tsk) \
{ \
.task = &tsk, \
.exec_domain = &default_exec_domain, \
.flags = 0, \
.cpu = 0, \
.preempt_count = 1, \
...
...
arch/ia64/include/asm/thread_info.h
浏览文件 @
fa41b1c7
...
...
@@ -20,7 +20,6 @@
*/
struct
thread_info
{
struct
task_struct
*
task
;
/* XXX not really needed, except for dup_task_struct() */
struct
exec_domain
*
exec_domain
;
/* execution domain */
__u32
flags
;
/* thread_info flags (see TIF_*) */
__u32
cpu
;
/* current CPU */
__u32
last_cpu
;
/* Last CPU thread ran on */
...
...
@@ -40,7 +39,6 @@ struct thread_info {
#define INIT_THREAD_INFO(tsk) \
{ \
.task = &tsk, \
.exec_domain = &default_exec_domain, \
.flags = 0, \
.cpu = 0, \
.addr_limit = KERNEL_DS, \
...
...
arch/metag/include/asm/thread_info.h
浏览文件 @
fa41b1c7
...
...
@@ -28,7 +28,6 @@
/* This must be 8 byte aligned so we can ensure stack alignment. */
struct
thread_info
{
struct
task_struct
*
task
;
/* main task structure */
struct
exec_domain
*
exec_domain
;
/* execution domain */
unsigned
long
flags
;
/* low level flags */
unsigned
long
status
;
/* thread-synchronous flags */
u32
cpu
;
/* current CPU */
...
...
@@ -68,7 +67,6 @@ struct thread_info {
#define INIT_THREAD_INFO(tsk) \
{ \
.task = &tsk, \
.exec_domain = &default_exec_domain, \
.flags = 0, \
.cpu = 0, \
.preempt_count = INIT_PREEMPT_COUNT, \
...
...
arch/metag/kernel/irq.c
浏览文件 @
fa41b1c7
...
...
@@ -132,7 +132,6 @@ void irq_ctx_init(int cpu)
irqctx
=
(
union
irq_ctx
*
)
&
hardirq_stack
[
cpu
*
THREAD_SIZE
];
irqctx
->
tinfo
.
task
=
NULL
;
irqctx
->
tinfo
.
exec_domain
=
NULL
;
irqctx
->
tinfo
.
cpu
=
cpu
;
irqctx
->
tinfo
.
preempt_count
=
HARDIRQ_OFFSET
;
irqctx
->
tinfo
.
addr_limit
=
MAKE_MM_SEG
(
0
);
...
...
@@ -141,7 +140,6 @@ void irq_ctx_init(int cpu)
irqctx
=
(
union
irq_ctx
*
)
&
softirq_stack
[
cpu
*
THREAD_SIZE
];
irqctx
->
tinfo
.
task
=
NULL
;
irqctx
->
tinfo
.
exec_domain
=
NULL
;
irqctx
->
tinfo
.
cpu
=
cpu
;
irqctx
->
tinfo
.
preempt_count
=
0
;
irqctx
->
tinfo
.
addr_limit
=
MAKE_MM_SEG
(
0
);
...
...
arch/mips/include/asm/thread_info.h
浏览文件 @
fa41b1c7
...
...
@@ -23,7 +23,6 @@
*/
struct
thread_info
{
struct
task_struct
*
task
;
/* main task structure */
struct
exec_domain
*
exec_domain
;
/* execution domain */
unsigned
long
flags
;
/* low level flags */
unsigned
long
tp_value
;
/* thread pointer */
__u32
cpu
;
/* current CPU */
...
...
@@ -44,7 +43,6 @@ struct thread_info {
#define INIT_THREAD_INFO(tsk) \
{ \
.task = &tsk, \
.exec_domain = &default_exec_domain, \
.flags = _TIF_FIXADE, \
.cpu = 0, \
.preempt_count = INIT_PREEMPT_COUNT, \
...
...
arch/mips/kernel/asm-offsets.c
浏览文件 @
fa41b1c7
...
...
@@ -92,7 +92,6 @@ void output_thread_info_defines(void)
{
COMMENT
(
"MIPS thread_info offsets."
);
OFFSET
(
TI_TASK
,
thread_info
,
task
);
OFFSET
(
TI_EXEC_DOMAIN
,
thread_info
,
exec_domain
);
OFFSET
(
TI_FLAGS
,
thread_info
,
flags
);
OFFSET
(
TI_TP_VALUE
,
thread_info
,
tp_value
);
OFFSET
(
TI_CPU
,
thread_info
,
cpu
);
...
...
arch/nios2/include/asm/thread_info.h
浏览文件 @
fa41b1c7
...
...
@@ -39,7 +39,6 @@ typedef struct {
*/
struct
thread_info
{
struct
task_struct
*
task
;
/* main task structure */
struct
exec_domain
*
exec_domain
;
/* execution domain */
unsigned
long
flags
;
/* low level flags */
__u32
cpu
;
/* current CPU */
int
preempt_count
;
/* 0 => preemptable,<0 => BUG */
...
...
@@ -59,7 +58,6 @@ struct thread_info {
#define INIT_THREAD_INFO(tsk) \
{ \
.task = &tsk, \
.exec_domain = &default_exec_domain, \
.flags = 0, \
.cpu = 0, \
.preempt_count = INIT_PREEMPT_COUNT, \
...
...
arch/openrisc/include/asm/thread_info.h
浏览文件 @
fa41b1c7
...
...
@@ -48,7 +48,6 @@ typedef unsigned long mm_segment_t;
struct
thread_info
{
struct
task_struct
*
task
;
/* main task structure */
struct
exec_domain
*
exec_domain
;
/* execution domain */
unsigned
long
flags
;
/* low level flags */
__u32
cpu
;
/* current CPU */
__s32
preempt_count
;
/* 0 => preemptable, <0 => BUG */
...
...
@@ -73,7 +72,6 @@ struct thread_info {
#define INIT_THREAD_INFO(tsk) \
{ \
.task = &tsk, \
.exec_domain = &default_exec_domain, \
.flags = 0, \
.cpu = 0, \
.preempt_count = 1, \
...
...
arch/openrisc/kernel/signal.c
浏览文件 @
fa41b1c7
...
...
@@ -193,8 +193,6 @@ static int setup_rt_frame(struct ksignal *ksig, sigset_t *set,
if
(
err
)
return
-
EFAULT
;
/* TODO what is the current->exec_domain stuff and invmap ? */
/* Set up registers for signal handler */
regs
->
pc
=
(
unsigned
long
)
ksig
->
ka
.
sa
.
sa_handler
;
/* what we enter NOW */
regs
->
gpr
[
9
]
=
(
unsigned
long
)
return_ip
;
/* what we enter LATER */
...
...
arch/parisc/include/asm/thread_info.h
浏览文件 @
fa41b1c7
...
...
@@ -9,7 +9,6 @@
struct
thread_info
{
struct
task_struct
*
task
;
/* main task structure */
struct
exec_domain
*
exec_domain
;
/* execution domain */
unsigned
long
flags
;
/* thread_info flags (see TIF_*) */
mm_segment_t
addr_limit
;
/* user-level address space limit */
__u32
cpu
;
/* current CPU */
...
...
@@ -19,7 +18,6 @@ struct thread_info {
#define INIT_THREAD_INFO(tsk) \
{ \
.task = &tsk, \
.exec_domain = &default_exec_domain, \
.flags = 0, \
.cpu = 0, \
.addr_limit = KERNEL_DS, \
...
...
arch/parisc/kernel/asm-offsets.c
浏览文件 @
fa41b1c7
...
...
@@ -242,7 +242,6 @@ int main(void)
DEFINE
(
PT_SZ_ALGN
,
align_frame
(
sizeof
(
struct
pt_regs
),
FRAME_ALIGN
));
BLANK
();
DEFINE
(
TI_TASK
,
offsetof
(
struct
thread_info
,
task
));
DEFINE
(
TI_EXEC_DOMAIN
,
offsetof
(
struct
thread_info
,
exec_domain
));
DEFINE
(
TI_FLAGS
,
offsetof
(
struct
thread_info
,
flags
));
DEFINE
(
TI_CPU
,
offsetof
(
struct
thread_info
,
cpu
));
DEFINE
(
TI_SEGMENT
,
offsetof
(
struct
thread_info
,
addr_limit
));
...
...
arch/powerpc/include/asm/thread_info.h
浏览文件 @
fa41b1c7
...
...
@@ -39,7 +39,6 @@
*/
struct
thread_info
{
struct
task_struct
*
task
;
/* main task structure */
struct
exec_domain
*
exec_domain
;
/* execution domain */
int
cpu
;
/* cpu we're on */
int
preempt_count
;
/* 0 => preemptable,
<0 => BUG */
...
...
@@ -55,7 +54,6 @@ struct thread_info {
#define INIT_THREAD_INFO(tsk) \
{ \
.task = &tsk, \
.exec_domain = &default_exec_domain, \
.cpu = 0, \
.preempt_count = INIT_PREEMPT_COUNT, \
.flags = 0, \
...
...
arch/score/include/asm/thread_info.h
浏览文件 @
fa41b1c7
...
...
@@ -28,7 +28,6 @@
*/
struct
thread_info
{
struct
task_struct
*
task
;
/* main task structure */
struct
exec_domain
*
exec_domain
;
/* execution domain */
unsigned
long
flags
;
/* low level flags */
unsigned
long
tp_value
;
/* thread pointer */
__u32
cpu
;
/* current CPU */
...
...
@@ -53,7 +52,6 @@ struct thread_info {
#define INIT_THREAD_INFO(tsk) \
{ \
.task = &tsk, \
.exec_domain = &default_exec_domain, \
.cpu = 0, \
.preempt_count = 1, \
.addr_limit = KERNEL_DS, \
...
...
arch/score/kernel/asm-offsets.c
浏览文件 @
fa41b1c7
...
...
@@ -100,7 +100,6 @@ void output_thread_info_defines(void)
{
COMMENT
(
"SCORE thread_info offsets."
);
OFFSET
(
TI_TASK
,
thread_info
,
task
);
OFFSET
(
TI_EXEC_DOMAIN
,
thread_info
,
exec_domain
);
OFFSET
(
TI_FLAGS
,
thread_info
,
flags
);
OFFSET
(
TI_TP_VALUE
,
thread_info
,
tp_value
);
OFFSET
(
TI_CPU
,
thread_info
,
cpu
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录