diff options
author | Richard Weinberger <richard@nod.at> | 2014-07-13 11:41:57 -0400 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2015-04-12 15:03:28 -0400 |
commit | fd223849f10a28fa40201652b5f13d52fa8f2bb0 (patch) | |
tree | 1e9d77776ff0f3c3bfadad0f9a39e7819eea8eed | |
parent | 89f191b31ceeb8e79c46815533b7d96c15e83720 (diff) |
um: Remove signal translation and exec_domain
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>
-rw-r--r-- | arch/um/include/asm/thread_info.h | 2 | ||||
-rw-r--r-- | arch/x86/um/signal.c | 7 |
2 files changed, 0 insertions, 9 deletions
diff --git a/arch/um/include/asm/thread_info.h b/arch/um/include/asm/thread_info.h index e04114c4fcd9..b30c85b141d9 100644 --- a/arch/um/include/asm/thread_info.h +++ b/arch/um/include/asm/thread_info.h | |||
@@ -14,7 +14,6 @@ | |||
14 | 14 | ||
15 | struct thread_info { | 15 | struct thread_info { |
16 | struct task_struct *task; /* main task structure */ | 16 | struct task_struct *task; /* main task structure */ |
17 | struct exec_domain *exec_domain; /* execution domain */ | ||
18 | unsigned long flags; /* low level flags */ | 17 | unsigned long flags; /* low level flags */ |
19 | __u32 cpu; /* current CPU */ | 18 | __u32 cpu; /* current CPU */ |
20 | int preempt_count; /* 0 => preemptable, | 19 | int preempt_count; /* 0 => preemptable, |
@@ -28,7 +27,6 @@ struct thread_info { | |||
28 | #define INIT_THREAD_INFO(tsk) \ | 27 | #define INIT_THREAD_INFO(tsk) \ |
29 | { \ | 28 | { \ |
30 | .task = &tsk, \ | 29 | .task = &tsk, \ |
31 | .exec_domain = &default_exec_domain, \ | ||
32 | .flags = 0, \ | 30 | .flags = 0, \ |
33 | .cpu = 0, \ | 31 | .cpu = 0, \ |
34 | .preempt_count = INIT_PREEMPT_COUNT, \ | 32 | .preempt_count = INIT_PREEMPT_COUNT, \ |
diff --git a/arch/x86/um/signal.c b/arch/x86/um/signal.c index 0c8c32bfd792..592491d1d70d 100644 --- a/arch/x86/um/signal.c +++ b/arch/x86/um/signal.c | |||
@@ -549,13 +549,6 @@ int setup_signal_stack_si(unsigned long stack_top, struct ksignal *ksig, | |||
549 | if (err) | 549 | if (err) |
550 | return err; | 550 | return err; |
551 | 551 | ||
552 | /* Set up registers for signal handler */ | ||
553 | { | ||
554 | struct exec_domain *ed = current_thread_info()->exec_domain; | ||
555 | if (unlikely(ed && ed->signal_invmap && sig < 32)) | ||
556 | sig = ed->signal_invmap[sig]; | ||
557 | } | ||
558 | |||
559 | PT_REGS_SP(regs) = (unsigned long) frame; | 552 | PT_REGS_SP(regs) = (unsigned long) frame; |
560 | PT_REGS_DI(regs) = sig; | 553 | PT_REGS_DI(regs) = sig; |
561 | /* In case the signal handler was declared without prototypes */ | 554 | /* In case the signal handler was declared without prototypes */ |