diff options
Diffstat (limited to 'arch/openrisc')
-rw-r--r-- | arch/openrisc/include/asm/thread_info.h | 2 | ||||
-rw-r--r-- | arch/openrisc/kernel/signal.c | 2 |
2 files changed, 0 insertions, 4 deletions
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 | ||
49 | struct thread_info { | 49 | struct 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 */ |