]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
um: Remove signal translation and exec_domain
authorRichard Weinberger <richard@nod.at>
Sun, 13 Jul 2014 15:41:57 +0000 (17:41 +0200)
committerRichard Weinberger <richard@nod.at>
Sun, 12 Apr 2015 19:03:28 +0000 (21:03 +0200)
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>
arch/um/include/asm/thread_info.h
arch/x86/um/signal.c

index e04114c4fcd9e5a4bc61def6cfbd9480c69046bd..b30c85b141d95f4bf4eb296dc5e4ceff4b67672a 100644 (file)
@@ -14,7 +14,6 @@
 
 struct thread_info {
        struct task_struct      *task;          /* main task structure */
-       struct exec_domain      *exec_domain;   /* execution domain */
        unsigned long           flags;          /* low level flags */
        __u32                   cpu;            /* current CPU */
        int                     preempt_count;  /* 0 => preemptable,
@@ -28,7 +27,6 @@ struct thread_info {
 #define INIT_THREAD_INFO(tsk)                  \
 {                                              \
        .task =         &tsk,                   \
-       .exec_domain =  &default_exec_domain,   \
        .flags =                0,              \
        .cpu =          0,                      \
        .preempt_count = INIT_PREEMPT_COUNT,    \
index 0c8c32bfd7928ee252c562e0a8767ec37e02844e..592491d1d70d9b2ceb95600707c6ba7daa693049 100644 (file)
@@ -549,13 +549,6 @@ int setup_signal_stack_si(unsigned long stack_top, struct ksignal *ksig,
        if (err)
                return err;
 
-       /* Set up registers for signal handler */
-       {
-               struct exec_domain *ed = current_thread_info()->exec_domain;
-               if (unlikely(ed && ed->signal_invmap && sig < 32))
-                       sig = ed->signal_invmap[sig];
-       }
-
        PT_REGS_SP(regs) = (unsigned long) frame;
        PT_REGS_DI(regs) = sig;
        /* In case the signal handler was declared without prototypes */