Skip to content

Commit fa41b1c

Browse files
arch: Remove exec_domain from remaining archs
Signed-off-by: Richard Weinberger <richard@nod.at>
1 parent e6de3ca commit fa41b1c

21 files changed

Lines changed: 0 additions & 39 deletions

File tree

‎arch/alpha/include/asm/thread_info.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ struct thread_info {
1818
unsigned int flags; /* low level flags */
1919
unsigned int ieee_state; /* see fpu.h */
2020

21-
struct exec_domain *exec_domain; /* execution domain */
2221
mm_segment_t addr_limit; /* thread address space */
2322
unsigned cpu; /* current CPU */
2423
int preempt_count; /* 0 => preemptable, <0 => BUG */
@@ -35,7 +34,6 @@ struct thread_info {
3534
#define INIT_THREAD_INFO(tsk) \
3635
{ \
3736
.task = &tsk, \
38-
.exec_domain = &default_exec_domain, \
3937
.addr_limit = KERNEL_DS, \
4038
.preempt_count = INIT_PREEMPT_COUNT, \
4139
}

‎arch/avr32/include/asm/thread_info.h‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,9 @@
1717
#include <asm/types.h>
1818

1919
struct task_struct;
20-
struct exec_domain;
2120

2221
struct thread_info {
2322
struct task_struct *task; /* main task structure */
24-
struct exec_domain *exec_domain; /* execution domain */
2523
unsigned long flags; /* low level flags */
2624
__u32 cpu;
2725
__s32 preempt_count; /* 0 => preemptable, <0 => BUG */
@@ -36,7 +34,6 @@ struct thread_info {
3634
#define INIT_THREAD_INFO(tsk) \
3735
{ \
3836
.task = &tsk, \
39-
.exec_domain = &default_exec_domain, \
4037
.flags = 0, \
4138
.cpu = 0, \
4239
.preempt_count = INIT_PREEMPT_COUNT, \

‎arch/avr32/kernel/asm-offsets.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
void foo(void)
1313
{
1414
OFFSET(TI_task, thread_info, task);
15-
OFFSET(TI_exec_domain, thread_info, exec_domain);
1615
OFFSET(TI_flags, thread_info, flags);
1716
OFFSET(TI_cpu, thread_info, cpu);
1817
OFFSET(TI_preempt_count, thread_info, preempt_count);

‎arch/c6x/include/asm/thread_info.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ typedef struct {
4040
*/
4141
struct thread_info {
4242
struct task_struct *task; /* main task structure */
43-
struct exec_domain *exec_domain; /* execution domain */
4443
unsigned long flags; /* low level flags */
4544
int cpu; /* cpu we're on */
4645
int preempt_count; /* 0 = preemptable, <0 = BUG */
@@ -55,7 +54,6 @@ struct thread_info {
5554
#define INIT_THREAD_INFO(tsk) \
5655
{ \
5756
.task = &tsk, \
58-
.exec_domain = &default_exec_domain, \
5957
.flags = 0, \
6058
.cpu = 0, \
6159
.preempt_count = INIT_PREEMPT_COUNT, \

‎arch/cris/arch-v10/kernel/signal.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,6 @@ static int setup_rt_frame(struct ksignal *ksig, sigset_t *set,
321321
if (err)
322322
return -EFAULT;
323323

324-
/* TODO what is the current->exec_domain stuff and invmap ? */
325-
326324
/* Set up registers for signal handler */
327325

328326
/* What we enter NOW */

‎arch/cris/arch-v32/kernel/signal.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,6 @@ setup_rt_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs)
287287
if (!access_ok(VERIFY_WRITE, frame, sizeof(*frame)))
288288
return -EFAULT;
289289

290-
/* TODO: what is the current->exec_domain stuff and invmap ? */
291-
292290
err |= __put_user(&frame->info, &frame->pinfo);
293291
err |= __put_user(&frame->uc, &frame->puc);
294292
err |= copy_siginfo_to_user(&frame->info, &ksig->info);

‎arch/cris/include/asm/thread_info.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
#ifndef __ASSEMBLY__
2929
struct thread_info {
3030
struct task_struct *task; /* main task structure */
31-
struct exec_domain *exec_domain; /* execution domain */
3231
unsigned long flags; /* low level flags */
3332
__u32 cpu; /* current CPU */
3433
int preempt_count; /* 0 => preemptable, <0 => BUG */
@@ -50,7 +49,6 @@ struct thread_info {
5049
#define INIT_THREAD_INFO(tsk) \
5150
{ \
5251
.task = &tsk, \
53-
.exec_domain = &default_exec_domain, \
5452
.flags = 0, \
5553
.cpu = 0, \
5654
.preempt_count = INIT_PREEMPT_COUNT, \

‎arch/hexagon/include/asm/thread_info.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ typedef struct {
4747

4848
struct thread_info {
4949
struct task_struct *task; /* main task structure */
50-
struct exec_domain *exec_domain; /* execution domain */
5150
unsigned long flags; /* low level flags */
5251
__u32 cpu; /* current cpu */
5352
int preempt_count; /* 0=>preemptible,<0=>BUG */
@@ -77,7 +76,6 @@ struct thread_info {
7776
#define INIT_THREAD_INFO(tsk) \
7877
{ \
7978
.task = &tsk, \
80-
.exec_domain = &default_exec_domain, \
8179
.flags = 0, \
8280
.cpu = 0, \
8381
.preempt_count = 1, \

‎arch/ia64/include/asm/thread_info.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
*/
2121
struct thread_info {
2222
struct task_struct *task; /* XXX not really needed, except for dup_task_struct() */
23-
struct exec_domain *exec_domain;/* execution domain */
2423
__u32 flags; /* thread_info flags (see TIF_*) */
2524
__u32 cpu; /* current CPU */
2625
__u32 last_cpu; /* Last CPU thread ran on */
@@ -40,7 +39,6 @@ struct thread_info {
4039
#define INIT_THREAD_INFO(tsk) \
4140
{ \
4241
.task = &tsk, \
43-
.exec_domain = &default_exec_domain, \
4442
.flags = 0, \
4543
.cpu = 0, \
4644
.addr_limit = KERNEL_DS, \

‎arch/metag/include/asm/thread_info.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
/* This must be 8 byte aligned so we can ensure stack alignment. */
2929
struct thread_info {
3030
struct task_struct *task; /* main task structure */
31-
struct exec_domain *exec_domain; /* execution domain */
3231
unsigned long flags; /* low level flags */
3332
unsigned long status; /* thread-synchronous flags */
3433
u32 cpu; /* current CPU */
@@ -68,7 +67,6 @@ struct thread_info {
6867
#define INIT_THREAD_INFO(tsk) \
6968
{ \
7069
.task = &tsk, \
71-
.exec_domain = &default_exec_domain, \
7270
.flags = 0, \
7371
.cpu = 0, \
7472
.preempt_count = INIT_PREEMPT_COUNT, \

0 commit comments

Comments
 (0)