aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2015-03-30 01:30:38 -0400
committerRichard Weinberger <richard@nod.at>2015-04-12 15:03:30 -0400
commitfa41b1c7dfa0453931afb32c9988af67a2ee28ae (patch)
tree15aedee3674939e96951757ccb56324b76492596
parente6de3ca91cd7ee252ef271c96a4c480c1f3e071e (diff)
arch: Remove exec_domain from remaining archs
Signed-off-by: Richard Weinberger <richard@nod.at>
-rw-r--r--arch/alpha/include/asm/thread_info.h2
-rw-r--r--arch/avr32/include/asm/thread_info.h3
-rw-r--r--arch/avr32/kernel/asm-offsets.c1
-rw-r--r--arch/c6x/include/asm/thread_info.h2
-rw-r--r--arch/cris/arch-v10/kernel/signal.c2
-rw-r--r--arch/cris/arch-v32/kernel/signal.c2
-rw-r--r--arch/cris/include/asm/thread_info.h2
-rw-r--r--arch/hexagon/include/asm/thread_info.h2
-rw-r--r--arch/ia64/include/asm/thread_info.h2
-rw-r--r--arch/metag/include/asm/thread_info.h2
-rw-r--r--arch/metag/kernel/irq.c2
-rw-r--r--arch/mips/include/asm/thread_info.h2
-rw-r--r--arch/mips/kernel/asm-offsets.c1
-rw-r--r--arch/nios2/include/asm/thread_info.h2
-rw-r--r--arch/openrisc/include/asm/thread_info.h2
-rw-r--r--arch/openrisc/kernel/signal.c2
-rw-r--r--arch/parisc/include/asm/thread_info.h2
-rw-r--r--arch/parisc/kernel/asm-offsets.c1
-rw-r--r--arch/powerpc/include/asm/thread_info.h2
-rw-r--r--arch/score/include/asm/thread_info.h2
-rw-r--r--arch/score/kernel/asm-offsets.c1
21 files changed, 0 insertions, 39 deletions
diff --git a/arch/alpha/include/asm/thread_info.h b/arch/alpha/include/asm/thread_info.h
index d5b98ab514bb..32e920a83ae5 100644
--- a/arch/alpha/include/asm/thread_info.h
+++ b/arch/alpha/include/asm/thread_info.h
@@ -18,7 +18,6 @@ struct thread_info {
18 unsigned int flags; /* low level flags */ 18 unsigned int flags; /* low level flags */
19 unsigned int ieee_state; /* see fpu.h */ 19 unsigned int ieee_state; /* see fpu.h */
20 20
21 struct exec_domain *exec_domain; /* execution domain */
22 mm_segment_t addr_limit; /* thread address space */ 21 mm_segment_t addr_limit; /* thread address space */
23 unsigned cpu; /* current CPU */ 22 unsigned cpu; /* current CPU */
24 int preempt_count; /* 0 => preemptable, <0 => BUG */ 23 int preempt_count; /* 0 => preemptable, <0 => BUG */
@@ -35,7 +34,6 @@ struct thread_info {
35#define INIT_THREAD_INFO(tsk) \ 34#define INIT_THREAD_INFO(tsk) \
36{ \ 35{ \
37 .task = &tsk, \ 36 .task = &tsk, \
38 .exec_domain = &default_exec_domain, \
39 .addr_limit = KERNEL_DS, \ 37 .addr_limit = KERNEL_DS, \
40 .preempt_count = INIT_PREEMPT_COUNT, \ 38 .preempt_count = INIT_PREEMPT_COUNT, \
41} 39}
diff --git a/arch/avr32/include/asm/thread_info.h b/arch/avr32/include/asm/thread_info.h
index d56afa99a514..d4d3079541ea 100644
--- a/arch/avr32/include/asm/thread_info.h
+++ b/arch/avr32/include/asm/thread_info.h
@@ -17,11 +17,9 @@
17#include <asm/types.h> 17#include <asm/types.h>
18 18
19struct task_struct; 19struct task_struct;
20struct exec_domain;
21 20
22struct thread_info { 21struct thread_info {
23 struct task_struct *task; /* main task structure */ 22 struct task_struct *task; /* main task structure */
24 struct exec_domain *exec_domain; /* execution domain */
25 unsigned long flags; /* low level flags */ 23 unsigned long flags; /* low level flags */
26 __u32 cpu; 24 __u32 cpu;
27 __s32 preempt_count; /* 0 => preemptable, <0 => BUG */ 25 __s32 preempt_count; /* 0 => preemptable, <0 => BUG */
@@ -36,7 +34,6 @@ struct thread_info {
36#define INIT_THREAD_INFO(tsk) \ 34#define INIT_THREAD_INFO(tsk) \
37{ \ 35{ \
38 .task = &tsk, \ 36 .task = &tsk, \
39 .exec_domain = &default_exec_domain, \
40 .flags = 0, \ 37 .flags = 0, \
41 .cpu = 0, \ 38 .cpu = 0, \
42 .preempt_count = INIT_PREEMPT_COUNT, \ 39 .preempt_count = INIT_PREEMPT_COUNT, \
diff --git a/arch/avr32/kernel/asm-offsets.c b/arch/avr32/kernel/asm-offsets.c
index e41c84516e5d..2c9764fe3532 100644
--- a/arch/avr32/kernel/asm-offsets.c
+++ b/arch/avr32/kernel/asm-offsets.c
@@ -12,7 +12,6 @@
12void foo(void) 12void foo(void)
13{ 13{
14 OFFSET(TI_task, thread_info, task); 14 OFFSET(TI_task, thread_info, task);
15 OFFSET(TI_exec_domain, thread_info, exec_domain);
16 OFFSET(TI_flags, thread_info, flags); 15 OFFSET(TI_flags, thread_info, flags);
17 OFFSET(TI_cpu, thread_info, cpu); 16 OFFSET(TI_cpu, thread_info, cpu);
18 OFFSET(TI_preempt_count, thread_info, preempt_count); 17 OFFSET(TI_preempt_count, thread_info, preempt_count);
diff --git a/arch/c6x/include/asm/thread_info.h b/arch/c6x/include/asm/thread_info.h
index 584e253f3217..acc70c135ab8 100644
--- a/arch/c6x/include/asm/thread_info.h
+++ b/arch/c6x/include/asm/thread_info.h
@@ -40,7 +40,6 @@ typedef struct {
40 */ 40 */
41struct thread_info { 41struct thread_info {
42 struct task_struct *task; /* main task structure */ 42 struct task_struct *task; /* main task structure */
43 struct exec_domain *exec_domain; /* execution domain */
44 unsigned long flags; /* low level flags */ 43 unsigned long flags; /* low level flags */
45 int cpu; /* cpu we're on */ 44 int cpu; /* cpu we're on */
46 int preempt_count; /* 0 = preemptable, <0 = BUG */ 45 int preempt_count; /* 0 = preemptable, <0 = BUG */
@@ -55,7 +54,6 @@ struct thread_info {
55#define INIT_THREAD_INFO(tsk) \ 54#define INIT_THREAD_INFO(tsk) \
56{ \ 55{ \
57 .task = &tsk, \ 56 .task = &tsk, \
58 .exec_domain = &default_exec_domain, \
59 .flags = 0, \ 57 .flags = 0, \
60 .cpu = 0, \ 58 .cpu = 0, \
61 .preempt_count = INIT_PREEMPT_COUNT, \ 59 .preempt_count = INIT_PREEMPT_COUNT, \
diff --git a/arch/cris/arch-v10/kernel/signal.c b/arch/cris/arch-v10/kernel/signal.c
index 74d7ba35120d..7122d9773b13 100644
--- a/arch/cris/arch-v10/kernel/signal.c
+++ b/arch/cris/arch-v10/kernel/signal.c
@@ -321,8 +321,6 @@ static int setup_rt_frame(struct ksignal *ksig, sigset_t *set,
321 if (err) 321 if (err)
322 return -EFAULT; 322 return -EFAULT;
323 323
324 /* TODO what is the current->exec_domain stuff and invmap ? */
325
326 /* Set up registers for signal handler */ 324 /* Set up registers for signal handler */
327 325
328 /* What we enter NOW */ 326 /* What we enter NOW */
diff --git a/arch/cris/arch-v32/kernel/signal.c b/arch/cris/arch-v32/kernel/signal.c
index 870e3e069318..0c9ce9eac614 100644
--- a/arch/cris/arch-v32/kernel/signal.c
+++ b/arch/cris/arch-v32/kernel/signal.c
@@ -287,8 +287,6 @@ setup_rt_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs)
287 if (!access_ok(VERIFY_WRITE, frame, sizeof(*frame))) 287 if (!access_ok(VERIFY_WRITE, frame, sizeof(*frame)))
288 return -EFAULT; 288 return -EFAULT;
289 289
290 /* TODO: what is the current->exec_domain stuff and invmap ? */
291
292 err |= __put_user(&frame->info, &frame->pinfo); 290 err |= __put_user(&frame->info, &frame->pinfo);
293 err |= __put_user(&frame->uc, &frame->puc); 291 err |= __put_user(&frame->uc, &frame->puc);
294 err |= copy_siginfo_to_user(&frame->info, &ksig->info); 292 err |= copy_siginfo_to_user(&frame->info, &ksig->info);
diff --git a/arch/cris/include/asm/thread_info.h b/arch/cris/include/asm/thread_info.h
index 7286db5ed90e..4ead1b40d2d7 100644
--- a/arch/cris/include/asm/thread_info.h
+++ b/arch/cris/include/asm/thread_info.h
@@ -28,7 +28,6 @@
28#ifndef __ASSEMBLY__ 28#ifndef __ASSEMBLY__
29struct thread_info { 29struct thread_info {
30 struct task_struct *task; /* main task structure */ 30 struct task_struct *task; /* main task structure */
31 struct exec_domain *exec_domain; /* execution domain */
32 unsigned long flags; /* low level flags */ 31 unsigned long flags; /* low level flags */
33 __u32 cpu; /* current CPU */ 32 __u32 cpu; /* current CPU */
34 int preempt_count; /* 0 => preemptable, <0 => BUG */ 33 int preempt_count; /* 0 => preemptable, <0 => BUG */
@@ -50,7 +49,6 @@ struct thread_info {
50#define INIT_THREAD_INFO(tsk) \ 49#define INIT_THREAD_INFO(tsk) \
51{ \ 50{ \
52 .task = &tsk, \ 51 .task = &tsk, \
53 .exec_domain = &default_exec_domain, \
54 .flags = 0, \ 52 .flags = 0, \
55 .cpu = 0, \ 53 .cpu = 0, \
56 .preempt_count = INIT_PREEMPT_COUNT, \ 54 .preempt_count = INIT_PREEMPT_COUNT, \
diff --git a/arch/hexagon/include/asm/thread_info.h b/arch/hexagon/include/asm/thread_info.h
index bacd3d6030c5..b80fe1db7b64 100644
--- a/arch/hexagon/include/asm/thread_info.h
+++ b/arch/hexagon/include/asm/thread_info.h
@@ -47,7 +47,6 @@ typedef struct {
47 47
48struct thread_info { 48struct thread_info {
49 struct task_struct *task; /* main task structure */ 49 struct task_struct *task; /* main task structure */
50 struct exec_domain *exec_domain; /* execution domain */
51 unsigned long flags; /* low level flags */ 50 unsigned long flags; /* low level flags */
52 __u32 cpu; /* current cpu */ 51 __u32 cpu; /* current cpu */
53 int preempt_count; /* 0=>preemptible,<0=>BUG */ 52 int preempt_count; /* 0=>preemptible,<0=>BUG */
@@ -77,7 +76,6 @@ struct thread_info {
77#define INIT_THREAD_INFO(tsk) \ 76#define INIT_THREAD_INFO(tsk) \
78{ \ 77{ \
79 .task = &tsk, \ 78 .task = &tsk, \
80 .exec_domain = &default_exec_domain, \
81 .flags = 0, \ 79 .flags = 0, \
82 .cpu = 0, \ 80 .cpu = 0, \
83 .preempt_count = 1, \ 81 .preempt_count = 1, \
diff --git a/arch/ia64/include/asm/thread_info.h b/arch/ia64/include/asm/thread_info.h
index c16f21a068ff..aa995b67c3f5 100644
--- a/arch/ia64/include/asm/thread_info.h
+++ b/arch/ia64/include/asm/thread_info.h
@@ -20,7 +20,6 @@
20 */ 20 */
21struct thread_info { 21struct thread_info {
22 struct task_struct *task; /* XXX not really needed, except for dup_task_struct() */ 22 struct task_struct *task; /* XXX not really needed, except for dup_task_struct() */
23 struct exec_domain *exec_domain;/* execution domain */
24 __u32 flags; /* thread_info flags (see TIF_*) */ 23 __u32 flags; /* thread_info flags (see TIF_*) */
25 __u32 cpu; /* current CPU */ 24 __u32 cpu; /* current CPU */
26 __u32 last_cpu; /* Last CPU thread ran on */ 25 __u32 last_cpu; /* Last CPU thread ran on */
@@ -40,7 +39,6 @@ struct thread_info {
40#define INIT_THREAD_INFO(tsk) \ 39#define INIT_THREAD_INFO(tsk) \
41{ \ 40{ \
42 .task = &tsk, \ 41 .task = &tsk, \
43 .exec_domain = &default_exec_domain, \
44 .flags = 0, \ 42 .flags = 0, \
45 .cpu = 0, \ 43 .cpu = 0, \
46 .addr_limit = KERNEL_DS, \ 44 .addr_limit = KERNEL_DS, \
diff --git a/arch/metag/include/asm/thread_info.h b/arch/metag/include/asm/thread_info.h
index afb3ca4776d1..32677cc278aa 100644
--- a/arch/metag/include/asm/thread_info.h
+++ b/arch/metag/include/asm/thread_info.h
@@ -28,7 +28,6 @@
28/* This must be 8 byte aligned so we can ensure stack alignment. */ 28/* This must be 8 byte aligned so we can ensure stack alignment. */
29struct thread_info { 29struct thread_info {
30 struct task_struct *task; /* main task structure */ 30 struct task_struct *task; /* main task structure */
31 struct exec_domain *exec_domain; /* execution domain */
32 unsigned long flags; /* low level flags */ 31 unsigned long flags; /* low level flags */
33 unsigned long status; /* thread-synchronous flags */ 32 unsigned long status; /* thread-synchronous flags */
34 u32 cpu; /* current CPU */ 33 u32 cpu; /* current CPU */
@@ -68,7 +67,6 @@ struct thread_info {
68#define INIT_THREAD_INFO(tsk) \ 67#define INIT_THREAD_INFO(tsk) \
69{ \ 68{ \
70 .task = &tsk, \ 69 .task = &tsk, \
71 .exec_domain = &default_exec_domain, \
72 .flags = 0, \ 70 .flags = 0, \
73 .cpu = 0, \ 71 .cpu = 0, \
74 .preempt_count = INIT_PREEMPT_COUNT, \ 72 .preempt_count = INIT_PREEMPT_COUNT, \
diff --git a/arch/metag/kernel/irq.c b/arch/metag/kernel/irq.c
index 5385dd1216b7..4f8f1f87ef11 100644
--- a/arch/metag/kernel/irq.c
+++ b/arch/metag/kernel/irq.c
@@ -132,7 +132,6 @@ void irq_ctx_init(int cpu)
132 132
133 irqctx = (union irq_ctx *) &hardirq_stack[cpu * THREAD_SIZE]; 133 irqctx = (union irq_ctx *) &hardirq_stack[cpu * THREAD_SIZE];
134 irqctx->tinfo.task = NULL; 134 irqctx->tinfo.task = NULL;
135 irqctx->tinfo.exec_domain = NULL;
136 irqctx->tinfo.cpu = cpu; 135 irqctx->tinfo.cpu = cpu;
137 irqctx->tinfo.preempt_count = HARDIRQ_OFFSET; 136 irqctx->tinfo.preempt_count = HARDIRQ_OFFSET;
138 irqctx->tinfo.addr_limit = MAKE_MM_SEG(0); 137 irqctx->tinfo.addr_limit = MAKE_MM_SEG(0);
@@ -141,7 +140,6 @@ void irq_ctx_init(int cpu)
141 140
142 irqctx = (union irq_ctx *) &softirq_stack[cpu * THREAD_SIZE]; 141 irqctx = (union irq_ctx *) &softirq_stack[cpu * THREAD_SIZE];
143 irqctx->tinfo.task = NULL; 142 irqctx->tinfo.task = NULL;
144 irqctx->tinfo.exec_domain = NULL;
145 irqctx->tinfo.cpu = cpu; 143 irqctx->tinfo.cpu = cpu;
146 irqctx->tinfo.preempt_count = 0; 144 irqctx->tinfo.preempt_count = 0;
147 irqctx->tinfo.addr_limit = MAKE_MM_SEG(0); 145 irqctx->tinfo.addr_limit = MAKE_MM_SEG(0);
diff --git a/arch/mips/include/asm/thread_info.h b/arch/mips/include/asm/thread_info.h
index 55ed6602204c..8408a30c47f3 100644
--- a/arch/mips/include/asm/thread_info.h
+++ b/arch/mips/include/asm/thread_info.h
@@ -23,7 +23,6 @@
23 */ 23 */
24struct thread_info { 24struct thread_info {
25 struct task_struct *task; /* main task structure */ 25 struct task_struct *task; /* main task structure */
26 struct exec_domain *exec_domain; /* execution domain */
27 unsigned long flags; /* low level flags */ 26 unsigned long flags; /* low level flags */
28 unsigned long tp_value; /* thread pointer */ 27 unsigned long tp_value; /* thread pointer */
29 __u32 cpu; /* current CPU */ 28 __u32 cpu; /* current CPU */
@@ -44,7 +43,6 @@ struct thread_info {
44#define INIT_THREAD_INFO(tsk) \ 43#define INIT_THREAD_INFO(tsk) \
45{ \ 44{ \
46 .task = &tsk, \ 45 .task = &tsk, \
47 .exec_domain = &default_exec_domain, \
48 .flags = _TIF_FIXADE, \ 46 .flags = _TIF_FIXADE, \
49 .cpu = 0, \ 47 .cpu = 0, \
50 .preempt_count = INIT_PREEMPT_COUNT, \ 48 .preempt_count = INIT_PREEMPT_COUNT, \
diff --git a/arch/mips/kernel/asm-offsets.c b/arch/mips/kernel/asm-offsets.c
index 750d67ac41e9..8f89102bbb25 100644
--- a/arch/mips/kernel/asm-offsets.c
+++ b/arch/mips/kernel/asm-offsets.c
@@ -92,7 +92,6 @@ void output_thread_info_defines(void)
92{ 92{
93 COMMENT("MIPS thread_info offsets."); 93 COMMENT("MIPS thread_info offsets.");
94 OFFSET(TI_TASK, thread_info, task); 94 OFFSET(TI_TASK, thread_info, task);
95 OFFSET(TI_EXEC_DOMAIN, thread_info, exec_domain);
96 OFFSET(TI_FLAGS, thread_info, flags); 95 OFFSET(TI_FLAGS, thread_info, flags);
97 OFFSET(TI_TP_VALUE, thread_info, tp_value); 96 OFFSET(TI_TP_VALUE, thread_info, tp_value);
98 OFFSET(TI_CPU, thread_info, cpu); 97 OFFSET(TI_CPU, thread_info, cpu);
diff --git a/arch/nios2/include/asm/thread_info.h b/arch/nios2/include/asm/thread_info.h
index 1f266575beb5..faf97e6368ee 100644
--- a/arch/nios2/include/asm/thread_info.h
+++ b/arch/nios2/include/asm/thread_info.h
@@ -39,7 +39,6 @@ typedef struct {
39 */ 39 */
40struct thread_info { 40struct thread_info {
41 struct task_struct *task; /* main task structure */ 41 struct task_struct *task; /* main task structure */
42 struct exec_domain *exec_domain; /* execution domain */
43 unsigned long flags; /* low level flags */ 42 unsigned long flags; /* low level flags */
44 __u32 cpu; /* current CPU */ 43 __u32 cpu; /* current CPU */
45 int preempt_count; /* 0 => preemptable,<0 => BUG */ 44 int preempt_count; /* 0 => preemptable,<0 => BUG */
@@ -59,7 +58,6 @@ struct thread_info {
59#define INIT_THREAD_INFO(tsk) \ 58#define INIT_THREAD_INFO(tsk) \
60{ \ 59{ \
61 .task = &tsk, \ 60 .task = &tsk, \
62 .exec_domain = &default_exec_domain, \
63 .flags = 0, \ 61 .flags = 0, \
64 .cpu = 0, \ 62 .cpu = 0, \
65 .preempt_count = INIT_PREEMPT_COUNT, \ 63 .preempt_count = INIT_PREEMPT_COUNT, \
diff --git a/arch/openrisc/include/asm/thread_info.h b/arch/openrisc/include/asm/thread_info.h
index 875f0845a707..6e619a79a401 100644
--- a/arch/openrisc/include/asm/thread_info.h
+++ b/arch/openrisc/include/asm/thread_info.h
@@ -48,7 +48,6 @@ typedef unsigned long mm_segment_t;
48 48
49struct thread_info { 49struct thread_info {
50 struct task_struct *task; /* main task structure */ 50 struct task_struct *task; /* main task structure */
51 struct exec_domain *exec_domain; /* execution domain */
52 unsigned long flags; /* low level flags */ 51 unsigned long flags; /* low level flags */
53 __u32 cpu; /* current CPU */ 52 __u32 cpu; /* current CPU */
54 __s32 preempt_count; /* 0 => preemptable, <0 => BUG */ 53 __s32 preempt_count; /* 0 => preemptable, <0 => BUG */
@@ -73,7 +72,6 @@ struct thread_info {
73#define INIT_THREAD_INFO(tsk) \ 72#define INIT_THREAD_INFO(tsk) \
74{ \ 73{ \
75 .task = &tsk, \ 74 .task = &tsk, \
76 .exec_domain = &default_exec_domain, \
77 .flags = 0, \ 75 .flags = 0, \
78 .cpu = 0, \ 76 .cpu = 0, \
79 .preempt_count = 1, \ 77 .preempt_count = 1, \
diff --git a/arch/openrisc/kernel/signal.c b/arch/openrisc/kernel/signal.c
index 4112175bf803..c82be69b43c6 100644
--- a/arch/openrisc/kernel/signal.c
+++ b/arch/openrisc/kernel/signal.c
@@ -193,8 +193,6 @@ static int setup_rt_frame(struct ksignal *ksig, sigset_t *set,
193 if (err) 193 if (err)
194 return -EFAULT; 194 return -EFAULT;
195 195
196 /* TODO what is the current->exec_domain stuff and invmap ? */
197
198 /* Set up registers for signal handler */ 196 /* Set up registers for signal handler */
199 regs->pc = (unsigned long)ksig->ka.sa.sa_handler; /* what we enter NOW */ 197 regs->pc = (unsigned long)ksig->ka.sa.sa_handler; /* what we enter NOW */
200 regs->gpr[9] = (unsigned long)return_ip; /* what we enter LATER */ 198 regs->gpr[9] = (unsigned long)return_ip; /* what we enter LATER */
diff --git a/arch/parisc/include/asm/thread_info.h b/arch/parisc/include/asm/thread_info.h
index fb13e3865563..e96e693fd58c 100644
--- a/arch/parisc/include/asm/thread_info.h
+++ b/arch/parisc/include/asm/thread_info.h
@@ -9,7 +9,6 @@
9 9
10struct thread_info { 10struct thread_info {
11 struct task_struct *task; /* main task structure */ 11 struct task_struct *task; /* main task structure */
12 struct exec_domain *exec_domain;/* execution domain */
13 unsigned long flags; /* thread_info flags (see TIF_*) */ 12 unsigned long flags; /* thread_info flags (see TIF_*) */
14 mm_segment_t addr_limit; /* user-level address space limit */ 13 mm_segment_t addr_limit; /* user-level address space limit */
15 __u32 cpu; /* current CPU */ 14 __u32 cpu; /* current CPU */
@@ -19,7 +18,6 @@ struct thread_info {
19#define INIT_THREAD_INFO(tsk) \ 18#define INIT_THREAD_INFO(tsk) \
20{ \ 19{ \
21 .task = &tsk, \ 20 .task = &tsk, \
22 .exec_domain = &default_exec_domain, \
23 .flags = 0, \ 21 .flags = 0, \
24 .cpu = 0, \ 22 .cpu = 0, \
25 .addr_limit = KERNEL_DS, \ 23 .addr_limit = KERNEL_DS, \
diff --git a/arch/parisc/kernel/asm-offsets.c b/arch/parisc/kernel/asm-offsets.c
index dcd55103a4bb..59001cea13f9 100644
--- a/arch/parisc/kernel/asm-offsets.c
+++ b/arch/parisc/kernel/asm-offsets.c
@@ -242,7 +242,6 @@ int main(void)
242 DEFINE(PT_SZ_ALGN, align_frame(sizeof(struct pt_regs), FRAME_ALIGN)); 242 DEFINE(PT_SZ_ALGN, align_frame(sizeof(struct pt_regs), FRAME_ALIGN));
243 BLANK(); 243 BLANK();
244 DEFINE(TI_TASK, offsetof(struct thread_info, task)); 244 DEFINE(TI_TASK, offsetof(struct thread_info, task));
245 DEFINE(TI_EXEC_DOMAIN, offsetof(struct thread_info, exec_domain));
246 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); 245 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags));
247 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); 246 DEFINE(TI_CPU, offsetof(struct thread_info, cpu));
248 DEFINE(TI_SEGMENT, offsetof(struct thread_info, addr_limit)); 247 DEFINE(TI_SEGMENT, offsetof(struct thread_info, addr_limit));
diff --git a/arch/powerpc/include/asm/thread_info.h b/arch/powerpc/include/asm/thread_info.h
index 72489799cf02..7efee4a3240b 100644
--- a/arch/powerpc/include/asm/thread_info.h
+++ b/arch/powerpc/include/asm/thread_info.h
@@ -39,7 +39,6 @@
39 */ 39 */
40struct thread_info { 40struct thread_info {
41 struct task_struct *task; /* main task structure */ 41 struct task_struct *task; /* main task structure */
42 struct exec_domain *exec_domain; /* execution domain */
43 int cpu; /* cpu we're on */ 42 int cpu; /* cpu we're on */
44 int preempt_count; /* 0 => preemptable, 43 int preempt_count; /* 0 => preemptable,
45 <0 => BUG */ 44 <0 => BUG */
@@ -55,7 +54,6 @@ struct thread_info {
55#define INIT_THREAD_INFO(tsk) \ 54#define INIT_THREAD_INFO(tsk) \
56{ \ 55{ \
57 .task = &tsk, \ 56 .task = &tsk, \
58 .exec_domain = &default_exec_domain, \
59 .cpu = 0, \ 57 .cpu = 0, \
60 .preempt_count = INIT_PREEMPT_COUNT, \ 58 .preempt_count = INIT_PREEMPT_COUNT, \
61 .flags = 0, \ 59 .flags = 0, \
diff --git a/arch/score/include/asm/thread_info.h b/arch/score/include/asm/thread_info.h
index 33864fa2a8d4..7d9ffb15c477 100644
--- a/arch/score/include/asm/thread_info.h
+++ b/arch/score/include/asm/thread_info.h
@@ -28,7 +28,6 @@
28 */ 28 */
29struct thread_info { 29struct thread_info {
30 struct task_struct *task; /* main task structure */ 30 struct task_struct *task; /* main task structure */
31 struct exec_domain *exec_domain; /* execution domain */
32 unsigned long flags; /* low level flags */ 31 unsigned long flags; /* low level flags */
33 unsigned long tp_value; /* thread pointer */ 32 unsigned long tp_value; /* thread pointer */
34 __u32 cpu; /* current CPU */ 33 __u32 cpu; /* current CPU */
@@ -53,7 +52,6 @@ struct thread_info {
53#define INIT_THREAD_INFO(tsk) \ 52#define INIT_THREAD_INFO(tsk) \
54{ \ 53{ \
55 .task = &tsk, \ 54 .task = &tsk, \
56 .exec_domain = &default_exec_domain, \
57 .cpu = 0, \ 55 .cpu = 0, \
58 .preempt_count = 1, \ 56 .preempt_count = 1, \
59 .addr_limit = KERNEL_DS, \ 57 .addr_limit = KERNEL_DS, \
diff --git a/arch/score/kernel/asm-offsets.c b/arch/score/kernel/asm-offsets.c
index b4d5214a7a7e..52794f9421e2 100644
--- a/arch/score/kernel/asm-offsets.c
+++ b/arch/score/kernel/asm-offsets.c
@@ -100,7 +100,6 @@ void output_thread_info_defines(void)
100{ 100{
101 COMMENT("SCORE thread_info offsets."); 101 COMMENT("SCORE thread_info offsets.");
102 OFFSET(TI_TASK, thread_info, task); 102 OFFSET(TI_TASK, thread_info, task);
103 OFFSET(TI_EXEC_DOMAIN, thread_info, exec_domain);
104 OFFSET(TI_FLAGS, thread_info, flags); 103 OFFSET(TI_FLAGS, thread_info, flags);
105 OFFSET(TI_TP_VALUE, thread_info, tp_value); 104 OFFSET(TI_TP_VALUE, thread_info, tp_value);
106 OFFSET(TI_CPU, thread_info, cpu); 105 OFFSET(TI_CPU, thread_info, cpu);