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

blackfin: Remove exec_domain usage

As execution domain support is gone we can remove
signal translation from the signal code and remove
exec_domain from thread_info.

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

+1 -7
-2
arch/blackfin/include/asm/thread_info.h
··· 37 37 38 38 struct thread_info { 39 39 struct task_struct *task; /* main task structure */ 40 - struct exec_domain *exec_domain; /* execution domain */ 41 40 unsigned long flags; /* low level flags */ 42 41 int cpu; /* cpu we're on */ 43 42 int preempt_count; /* 0 => preemptable, <0 => BUG */ ··· 52 53 #define INIT_THREAD_INFO(tsk) \ 53 54 { \ 54 55 .task = &tsk, \ 55 - .exec_domain = &default_exec_domain, \ 56 56 .flags = 0, \ 57 57 .cpu = 0, \ 58 58 .preempt_count = INIT_PREEMPT_COUNT, \
+1 -5
arch/blackfin/kernel/signal.c
··· 151 151 152 152 frame = get_sigframe(ksig, sizeof(*frame)); 153 153 154 - err |= __put_user((current_thread_info()->exec_domain 155 - && current_thread_info()->exec_domain->signal_invmap 156 - && ksig->sig < 32 157 - ? current_thread_info()->exec_domain-> 158 - signal_invmap[ksig->sig] : ksig->sig), &frame->sig); 154 + err |= __put_user(sig->sig, &frame->sig); 159 155 160 156 err |= __put_user(&frame->info, &frame->pinfo); 161 157 err |= __put_user(&frame->uc, &frame->puc);