Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arch: Remove exec_domain from remaining archs

Signed-off-by: Richard Weinberger <richard@nod.at>

-39
-2
arch/alpha/include/asm/thread_info.h
··· 18 18 unsigned int flags; /* low level flags */ 19 19 unsigned int ieee_state; /* see fpu.h */ 20 20 21 - struct exec_domain *exec_domain; /* execution domain */ 22 21 mm_segment_t addr_limit; /* thread address space */ 23 22 unsigned cpu; /* current CPU */ 24 23 int preempt_count; /* 0 => preemptable, <0 => BUG */ ··· 34 35 #define INIT_THREAD_INFO(tsk) \ 35 36 { \ 36 37 .task = &tsk, \ 37 - .exec_domain = &default_exec_domain, \ 38 38 .addr_limit = KERNEL_DS, \ 39 39 .preempt_count = INIT_PREEMPT_COUNT, \ 40 40 }
-3
arch/avr32/include/asm/thread_info.h
··· 17 17 #include <asm/types.h> 18 18 19 19 struct task_struct; 20 - struct exec_domain; 21 20 22 21 struct thread_info { 23 22 struct task_struct *task; /* main task structure */ 24 - struct exec_domain *exec_domain; /* execution domain */ 25 23 unsigned long flags; /* low level flags */ 26 24 __u32 cpu; 27 25 __s32 preempt_count; /* 0 => preemptable, <0 => BUG */ ··· 34 36 #define INIT_THREAD_INFO(tsk) \ 35 37 { \ 36 38 .task = &tsk, \ 37 - .exec_domain = &default_exec_domain, \ 38 39 .flags = 0, \ 39 40 .cpu = 0, \ 40 41 .preempt_count = INIT_PREEMPT_COUNT, \
-1
arch/avr32/kernel/asm-offsets.c
··· 12 12 void foo(void) 13 13 { 14 14 OFFSET(TI_task, thread_info, task); 15 - OFFSET(TI_exec_domain, thread_info, exec_domain); 16 15 OFFSET(TI_flags, thread_info, flags); 17 16 OFFSET(TI_cpu, thread_info, cpu); 18 17 OFFSET(TI_preempt_count, thread_info, preempt_count);
-2
arch/c6x/include/asm/thread_info.h
··· 40 40 */ 41 41 struct thread_info { 42 42 struct task_struct *task; /* main task structure */ 43 - struct exec_domain *exec_domain; /* execution domain */ 44 43 unsigned long flags; /* low level flags */ 45 44 int cpu; /* cpu we're on */ 46 45 int preempt_count; /* 0 = preemptable, <0 = BUG */ ··· 54 55 #define INIT_THREAD_INFO(tsk) \ 55 56 { \ 56 57 .task = &tsk, \ 57 - .exec_domain = &default_exec_domain, \ 58 58 .flags = 0, \ 59 59 .cpu = 0, \ 60 60 .preempt_count = INIT_PREEMPT_COUNT, \
-2
arch/cris/arch-v10/kernel/signal.c
··· 321 321 if (err) 322 322 return -EFAULT; 323 323 324 - /* TODO what is the current->exec_domain stuff and invmap ? */ 325 - 326 324 /* Set up registers for signal handler */ 327 325 328 326 /* What we enter NOW */
-2
arch/cris/arch-v32/kernel/signal.c
··· 287 287 if (!access_ok(VERIFY_WRITE, frame, sizeof(*frame))) 288 288 return -EFAULT; 289 289 290 - /* TODO: what is the current->exec_domain stuff and invmap ? */ 291 - 292 290 err |= __put_user(&frame->info, &frame->pinfo); 293 291 err |= __put_user(&frame->uc, &frame->puc); 294 292 err |= copy_siginfo_to_user(&frame->info, &ksig->info);
-2
arch/cris/include/asm/thread_info.h
··· 28 28 #ifndef __ASSEMBLY__ 29 29 struct thread_info { 30 30 struct task_struct *task; /* main task structure */ 31 - struct exec_domain *exec_domain; /* execution domain */ 32 31 unsigned long flags; /* low level flags */ 33 32 __u32 cpu; /* current CPU */ 34 33 int preempt_count; /* 0 => preemptable, <0 => BUG */ ··· 49 50 #define INIT_THREAD_INFO(tsk) \ 50 51 { \ 51 52 .task = &tsk, \ 52 - .exec_domain = &default_exec_domain, \ 53 53 .flags = 0, \ 54 54 .cpu = 0, \ 55 55 .preempt_count = INIT_PREEMPT_COUNT, \
-2
arch/hexagon/include/asm/thread_info.h
··· 47 47 48 48 struct thread_info { 49 49 struct task_struct *task; /* main task structure */ 50 - struct exec_domain *exec_domain; /* execution domain */ 51 50 unsigned long flags; /* low level flags */ 52 51 __u32 cpu; /* current cpu */ 53 52 int preempt_count; /* 0=>preemptible,<0=>BUG */ ··· 76 77 #define INIT_THREAD_INFO(tsk) \ 77 78 { \ 78 79 .task = &tsk, \ 79 - .exec_domain = &default_exec_domain, \ 80 80 .flags = 0, \ 81 81 .cpu = 0, \ 82 82 .preempt_count = 1, \
-2
arch/ia64/include/asm/thread_info.h
··· 20 20 */ 21 21 struct thread_info { 22 22 struct task_struct *task; /* XXX not really needed, except for dup_task_struct() */ 23 - struct exec_domain *exec_domain;/* execution domain */ 24 23 __u32 flags; /* thread_info flags (see TIF_*) */ 25 24 __u32 cpu; /* current CPU */ 26 25 __u32 last_cpu; /* Last CPU thread ran on */ ··· 39 40 #define INIT_THREAD_INFO(tsk) \ 40 41 { \ 41 42 .task = &tsk, \ 42 - .exec_domain = &default_exec_domain, \ 43 43 .flags = 0, \ 44 44 .cpu = 0, \ 45 45 .addr_limit = KERNEL_DS, \
-2
arch/metag/include/asm/thread_info.h
··· 28 28 /* This must be 8 byte aligned so we can ensure stack alignment. */ 29 29 struct thread_info { 30 30 struct task_struct *task; /* main task structure */ 31 - struct exec_domain *exec_domain; /* execution domain */ 32 31 unsigned long flags; /* low level flags */ 33 32 unsigned long status; /* thread-synchronous flags */ 34 33 u32 cpu; /* current CPU */ ··· 67 68 #define INIT_THREAD_INFO(tsk) \ 68 69 { \ 69 70 .task = &tsk, \ 70 - .exec_domain = &default_exec_domain, \ 71 71 .flags = 0, \ 72 72 .cpu = 0, \ 73 73 .preempt_count = INIT_PREEMPT_COUNT, \
-2
arch/metag/kernel/irq.c
··· 132 132 133 133 irqctx = (union irq_ctx *) &hardirq_stack[cpu * THREAD_SIZE]; 134 134 irqctx->tinfo.task = NULL; 135 - irqctx->tinfo.exec_domain = NULL; 136 135 irqctx->tinfo.cpu = cpu; 137 136 irqctx->tinfo.preempt_count = HARDIRQ_OFFSET; 138 137 irqctx->tinfo.addr_limit = MAKE_MM_SEG(0); ··· 140 141 141 142 irqctx = (union irq_ctx *) &softirq_stack[cpu * THREAD_SIZE]; 142 143 irqctx->tinfo.task = NULL; 143 - irqctx->tinfo.exec_domain = NULL; 144 144 irqctx->tinfo.cpu = cpu; 145 145 irqctx->tinfo.preempt_count = 0; 146 146 irqctx->tinfo.addr_limit = MAKE_MM_SEG(0);
-2
arch/mips/include/asm/thread_info.h
··· 23 23 */ 24 24 struct thread_info { 25 25 struct task_struct *task; /* main task structure */ 26 - struct exec_domain *exec_domain; /* execution domain */ 27 26 unsigned long flags; /* low level flags */ 28 27 unsigned long tp_value; /* thread pointer */ 29 28 __u32 cpu; /* current CPU */ ··· 43 44 #define INIT_THREAD_INFO(tsk) \ 44 45 { \ 45 46 .task = &tsk, \ 46 - .exec_domain = &default_exec_domain, \ 47 47 .flags = _TIF_FIXADE, \ 48 48 .cpu = 0, \ 49 49 .preempt_count = INIT_PREEMPT_COUNT, \
-1
arch/mips/kernel/asm-offsets.c
··· 92 92 { 93 93 COMMENT("MIPS thread_info offsets."); 94 94 OFFSET(TI_TASK, thread_info, task); 95 - OFFSET(TI_EXEC_DOMAIN, thread_info, exec_domain); 96 95 OFFSET(TI_FLAGS, thread_info, flags); 97 96 OFFSET(TI_TP_VALUE, thread_info, tp_value); 98 97 OFFSET(TI_CPU, thread_info, cpu);
-2
arch/nios2/include/asm/thread_info.h
··· 39 39 */ 40 40 struct thread_info { 41 41 struct task_struct *task; /* main task structure */ 42 - struct exec_domain *exec_domain; /* execution domain */ 43 42 unsigned long flags; /* low level flags */ 44 43 __u32 cpu; /* current CPU */ 45 44 int preempt_count; /* 0 => preemptable,<0 => BUG */ ··· 58 59 #define INIT_THREAD_INFO(tsk) \ 59 60 { \ 60 61 .task = &tsk, \ 61 - .exec_domain = &default_exec_domain, \ 62 62 .flags = 0, \ 63 63 .cpu = 0, \ 64 64 .preempt_count = INIT_PREEMPT_COUNT, \
-2
arch/openrisc/include/asm/thread_info.h
··· 48 48 49 49 struct thread_info { 50 50 struct task_struct *task; /* main task structure */ 51 - struct exec_domain *exec_domain; /* execution domain */ 52 51 unsigned long flags; /* low level flags */ 53 52 __u32 cpu; /* current CPU */ 54 53 __s32 preempt_count; /* 0 => preemptable, <0 => BUG */ ··· 72 73 #define INIT_THREAD_INFO(tsk) \ 73 74 { \ 74 75 .task = &tsk, \ 75 - .exec_domain = &default_exec_domain, \ 76 76 .flags = 0, \ 77 77 .cpu = 0, \ 78 78 .preempt_count = 1, \
-2
arch/openrisc/kernel/signal.c
··· 193 193 if (err) 194 194 return -EFAULT; 195 195 196 - /* TODO what is the current->exec_domain stuff and invmap ? */ 197 - 198 196 /* Set up registers for signal handler */ 199 197 regs->pc = (unsigned long)ksig->ka.sa.sa_handler; /* what we enter NOW */ 200 198 regs->gpr[9] = (unsigned long)return_ip; /* what we enter LATER */
-2
arch/parisc/include/asm/thread_info.h
··· 9 9 10 10 struct thread_info { 11 11 struct task_struct *task; /* main task structure */ 12 - struct exec_domain *exec_domain;/* execution domain */ 13 12 unsigned long flags; /* thread_info flags (see TIF_*) */ 14 13 mm_segment_t addr_limit; /* user-level address space limit */ 15 14 __u32 cpu; /* current CPU */ ··· 18 19 #define INIT_THREAD_INFO(tsk) \ 19 20 { \ 20 21 .task = &tsk, \ 21 - .exec_domain = &default_exec_domain, \ 22 22 .flags = 0, \ 23 23 .cpu = 0, \ 24 24 .addr_limit = KERNEL_DS, \
-1
arch/parisc/kernel/asm-offsets.c
··· 242 242 DEFINE(PT_SZ_ALGN, align_frame(sizeof(struct pt_regs), FRAME_ALIGN)); 243 243 BLANK(); 244 244 DEFINE(TI_TASK, offsetof(struct thread_info, task)); 245 - DEFINE(TI_EXEC_DOMAIN, offsetof(struct thread_info, exec_domain)); 246 245 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); 247 246 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); 248 247 DEFINE(TI_SEGMENT, offsetof(struct thread_info, addr_limit));
-2
arch/powerpc/include/asm/thread_info.h
··· 39 39 */ 40 40 struct thread_info { 41 41 struct task_struct *task; /* main task structure */ 42 - struct exec_domain *exec_domain; /* execution domain */ 43 42 int cpu; /* cpu we're on */ 44 43 int preempt_count; /* 0 => preemptable, 45 44 <0 => BUG */ ··· 54 55 #define INIT_THREAD_INFO(tsk) \ 55 56 { \ 56 57 .task = &tsk, \ 57 - .exec_domain = &default_exec_domain, \ 58 58 .cpu = 0, \ 59 59 .preempt_count = INIT_PREEMPT_COUNT, \ 60 60 .flags = 0, \
-2
arch/score/include/asm/thread_info.h
··· 28 28 */ 29 29 struct thread_info { 30 30 struct task_struct *task; /* main task structure */ 31 - struct exec_domain *exec_domain; /* execution domain */ 32 31 unsigned long flags; /* low level flags */ 33 32 unsigned long tp_value; /* thread pointer */ 34 33 __u32 cpu; /* current CPU */ ··· 52 53 #define INIT_THREAD_INFO(tsk) \ 53 54 { \ 54 55 .task = &tsk, \ 55 - .exec_domain = &default_exec_domain, \ 56 56 .cpu = 0, \ 57 57 .preempt_count = 1, \ 58 58 .addr_limit = KERNEL_DS, \
-1
arch/score/kernel/asm-offsets.c
··· 100 100 { 101 101 COMMENT("SCORE thread_info offsets."); 102 102 OFFSET(TI_TASK, thread_info, task); 103 - OFFSET(TI_EXEC_DOMAIN, thread_info, exec_domain); 104 103 OFFSET(TI_FLAGS, thread_info, flags); 105 104 OFFSET(TI_TP_VALUE, thread_info, tp_value); 106 105 OFFSET(TI_CPU, thread_info, cpu);