]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
arch: Remove exec_domain from remaining archs
authorRichard Weinberger <richard@nod.at>
Mon, 30 Mar 2015 05:30:38 +0000 (07:30 +0200)
committerRichard Weinberger <richard@nod.at>
Sun, 12 Apr 2015 19:03:30 +0000 (21:03 +0200)
Signed-off-by: Richard Weinberger <richard@nod.at>
21 files changed:
arch/alpha/include/asm/thread_info.h
arch/avr32/include/asm/thread_info.h
arch/avr32/kernel/asm-offsets.c
arch/c6x/include/asm/thread_info.h
arch/cris/arch-v10/kernel/signal.c
arch/cris/arch-v32/kernel/signal.c
arch/cris/include/asm/thread_info.h
arch/hexagon/include/asm/thread_info.h
arch/ia64/include/asm/thread_info.h
arch/metag/include/asm/thread_info.h
arch/metag/kernel/irq.c
arch/mips/include/asm/thread_info.h
arch/mips/kernel/asm-offsets.c
arch/nios2/include/asm/thread_info.h
arch/openrisc/include/asm/thread_info.h
arch/openrisc/kernel/signal.c
arch/parisc/include/asm/thread_info.h
arch/parisc/kernel/asm-offsets.c
arch/powerpc/include/asm/thread_info.h
arch/score/include/asm/thread_info.h
arch/score/kernel/asm-offsets.c

index d5b98ab514bbda2bbd6270ea7802a8a402857f37..32e920a83ae57b88431adaf4957672e6cbdb02f0 100644 (file)
@@ -18,7 +18,6 @@ struct thread_info {
        unsigned int            flags;          /* low level flags */
        unsigned int            ieee_state;     /* see fpu.h */
 
-       struct exec_domain      *exec_domain;   /* execution domain */
        mm_segment_t            addr_limit;     /* thread address space */
        unsigned                cpu;            /* current CPU */
        int                     preempt_count; /* 0 => preemptable, <0 => BUG */
@@ -35,7 +34,6 @@ struct thread_info {
 #define INIT_THREAD_INFO(tsk)                  \
 {                                              \
        .task           = &tsk,                 \
-       .exec_domain    = &default_exec_domain, \
        .addr_limit     = KERNEL_DS,            \
        .preempt_count  = INIT_PREEMPT_COUNT,   \
 }
index d56afa99a5149c5a2504d3e7c472a940b9ab4930..d4d3079541ea56aad05fb7373dd5e5b12cff8607 100644 (file)
 #include <asm/types.h>
 
 struct task_struct;
-struct exec_domain;
 
 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;
        __s32                   preempt_count;  /* 0 => preemptable, <0 => BUG */
@@ -36,7 +34,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 e41c84516e5d1e7949dd7279ac4ee8d2229c01af..2c9764fe3532494385b7b8d19347082a5808ad4c 100644 (file)
@@ -12,7 +12,6 @@
 void foo(void)
 {
        OFFSET(TI_task, thread_info, task);
-       OFFSET(TI_exec_domain, thread_info, exec_domain);
        OFFSET(TI_flags, thread_info, flags);
        OFFSET(TI_cpu, thread_info, cpu);
        OFFSET(TI_preempt_count, thread_info, preempt_count);
index 584e253f32179952ab1d4b77a53892fe4e42d608..acc70c135ab850d60d212699e0d42a18cb09ff43 100644 (file)
@@ -40,7 +40,6 @@ typedef struct {
  */
 struct thread_info {
        struct task_struct      *task;          /* main task structure */
-       struct exec_domain      *exec_domain;   /* execution domain */
        unsigned long           flags;          /* low level flags */
        int                     cpu;            /* cpu we're on */
        int                     preempt_count;  /* 0 = preemptable, <0 = BUG */
@@ -55,7 +54,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 74d7ba35120d3130a611f3aba8433139a7dc7a97..7122d9773b13922184ee8077a3ffb503beef35d4 100644 (file)
@@ -321,8 +321,6 @@ static int setup_rt_frame(struct ksignal *ksig, sigset_t *set,
        if (err)
                return -EFAULT;
 
-       /* TODO what is the current->exec_domain stuff and invmap ? */
-
        /* Set up registers for signal handler */
 
        /* What we enter NOW   */
index 870e3e069318522ef26912ee92c4453721782ec9..0c9ce9eac6143dae6545e659b048ece37f5c8730 100644 (file)
@@ -287,8 +287,6 @@ setup_rt_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs)
        if (!access_ok(VERIFY_WRITE, frame, sizeof(*frame)))
                return -EFAULT;
 
-       /* TODO: what is the current->exec_domain stuff and invmap ? */
-
        err |= __put_user(&frame->info, &frame->pinfo);
        err |= __put_user(&frame->uc, &frame->puc);
        err |= copy_siginfo_to_user(&frame->info, &ksig->info);
index 7286db5ed90e383161df1a72573b957d528b6540..4ead1b40d2d743dab304678f2f872762447477ed 100644 (file)
@@ -28,7 +28,6 @@
 #ifndef __ASSEMBLY__
 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, <0 => BUG */
@@ -50,7 +49,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 bacd3d6030c5764a5bf8762f54666b2f5d7cbfa8..b80fe1db7b6484883e3ebfdfe0973b1883c8183a 100644 (file)
@@ -47,7 +47,6 @@ typedef struct {
 
 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=>preemptible,<0=>BUG */
@@ -77,7 +76,6 @@ struct thread_info {
 #define INIT_THREAD_INFO(tsk)                   \
 {                                               \
        .task           = &tsk,                 \
-       .exec_domain    = &default_exec_domain, \
        .flags          = 0,                    \
        .cpu            = 0,                    \
        .preempt_count  = 1,                    \
index c16f21a068ff7edc553dff54570463622d5f5f9f..aa995b67c3f51abe459879648025cdd1fe30724c 100644 (file)
@@ -20,7 +20,6 @@
  */
 struct thread_info {
        struct task_struct *task;       /* XXX not really needed, except for dup_task_struct() */
-       struct exec_domain *exec_domain;/* execution domain */
        __u32 flags;                    /* thread_info flags (see TIF_*) */
        __u32 cpu;                      /* current CPU */
        __u32 last_cpu;                 /* Last CPU thread ran on */
@@ -40,7 +39,6 @@ struct thread_info {
 #define INIT_THREAD_INFO(tsk)                  \
 {                                              \
        .task           = &tsk,                 \
-       .exec_domain    = &default_exec_domain, \
        .flags          = 0,                    \
        .cpu            = 0,                    \
        .addr_limit     = KERNEL_DS,            \
index afb3ca4776d1df43271cbbe1514ad5e8478186bf..32677cc278aa16d310b84bfda09a6bc317ba4115 100644 (file)
@@ -28,7 +28,6 @@
 /* This must be 8 byte aligned so we can ensure stack alignment. */
 struct thread_info {
        struct task_struct *task;       /* main task structure */
-       struct exec_domain *exec_domain;        /* execution domain */
        unsigned long flags;    /* low level flags */
        unsigned long status;   /* thread-synchronous flags */
        u32 cpu;                /* current CPU */
@@ -68,7 +67,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 5385dd1216b7ce5788093718e5e169c6a1d0906b..4f8f1f87ef1160fb5cd88a2fc7e771682891b2df 100644 (file)
@@ -132,7 +132,6 @@ void irq_ctx_init(int cpu)
 
        irqctx = (union irq_ctx *) &hardirq_stack[cpu * THREAD_SIZE];
        irqctx->tinfo.task              = NULL;
-       irqctx->tinfo.exec_domain       = NULL;
        irqctx->tinfo.cpu               = cpu;
        irqctx->tinfo.preempt_count     = HARDIRQ_OFFSET;
        irqctx->tinfo.addr_limit        = MAKE_MM_SEG(0);
@@ -141,7 +140,6 @@ void irq_ctx_init(int cpu)
 
        irqctx = (union irq_ctx *) &softirq_stack[cpu * THREAD_SIZE];
        irqctx->tinfo.task              = NULL;
-       irqctx->tinfo.exec_domain       = NULL;
        irqctx->tinfo.cpu               = cpu;
        irqctx->tinfo.preempt_count     = 0;
        irqctx->tinfo.addr_limit        = MAKE_MM_SEG(0);
index 55ed6602204cae5ae1219ee15f5a98b2c9f2813e..8408a30c47f33f826503488c5d25230ec6deaf66 100644 (file)
@@ -23,7 +23,6 @@
  */
 struct thread_info {
        struct task_struct      *task;          /* main task structure */
-       struct exec_domain      *exec_domain;   /* execution domain */
        unsigned long           flags;          /* low level flags */
        unsigned long           tp_value;       /* thread pointer */
        __u32                   cpu;            /* current CPU */
@@ -44,7 +43,6 @@ struct thread_info {
 #define INIT_THREAD_INFO(tsk)                  \
 {                                              \
        .task           = &tsk,                 \
-       .exec_domain    = &default_exec_domain, \
        .flags          = _TIF_FIXADE,          \
        .cpu            = 0,                    \
        .preempt_count  = INIT_PREEMPT_COUNT,   \
index 750d67ac41e9b19affe066d5be8d1f56f7363041..8f89102bbb25233587642370c0a8639e5c021e60 100644 (file)
@@ -92,7 +92,6 @@ void output_thread_info_defines(void)
 {
        COMMENT("MIPS thread_info offsets.");
        OFFSET(TI_TASK, thread_info, task);
-       OFFSET(TI_EXEC_DOMAIN, thread_info, exec_domain);
        OFFSET(TI_FLAGS, thread_info, flags);
        OFFSET(TI_TP_VALUE, thread_info, tp_value);
        OFFSET(TI_CPU, thread_info, cpu);
index 1f266575beb51c459432ac918e96e0b3b810ae85..faf97e6368eeea62bd637b79288fac3ce60d22cd 100644 (file)
@@ -39,7 +39,6 @@ typedef struct {
  */
 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,<0 => BUG */
@@ -59,7 +58,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 875f0845a70760b215a06d8afded0f56b564f7e0..6e619a79a4010bf63767205c289d841a567ae124 100644 (file)
@@ -48,7 +48,6 @@ typedef unsigned long mm_segment_t;
 
 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 */
        __s32                   preempt_count; /* 0 => preemptable, <0 => BUG */
@@ -73,7 +72,6 @@ struct thread_info {
 #define INIT_THREAD_INFO(tsk)                          \
 {                                                      \
        .task           = &tsk,                         \
-       .exec_domain    = &default_exec_domain,         \
        .flags          = 0,                            \
        .cpu            = 0,                            \
        .preempt_count  = 1,                            \
index 4112175bf803b46b8fbd089f92d789b2011bc0ce..c82be69b43c64dc83ca24280d5261ff7b7e5bac6 100644 (file)
@@ -193,8 +193,6 @@ static int setup_rt_frame(struct ksignal *ksig, sigset_t *set,
        if (err)
                return -EFAULT;
 
-       /* TODO what is the current->exec_domain stuff and invmap ? */
-
        /* Set up registers for signal handler */
        regs->pc = (unsigned long)ksig->ka.sa.sa_handler; /* what we enter NOW */
        regs->gpr[9] = (unsigned long)return_ip;     /* what we enter LATER */
index fb13e3865563cd9333b76806f52e019437b31c8b..e96e693fd58ca0df4a231a35a6f753e447dac1cb 100644 (file)
@@ -9,7 +9,6 @@
 
 struct thread_info {
        struct task_struct *task;       /* main task structure */
-       struct exec_domain *exec_domain;/* execution domain */
        unsigned long flags;            /* thread_info flags (see TIF_*) */
        mm_segment_t addr_limit;        /* user-level address space limit */
        __u32 cpu;                      /* current CPU */
@@ -19,7 +18,6 @@ struct thread_info {
 #define INIT_THREAD_INFO(tsk)                  \
 {                                              \
        .task           = &tsk,                 \
-       .exec_domain    = &default_exec_domain, \
        .flags          = 0,                    \
        .cpu            = 0,                    \
        .addr_limit     = KERNEL_DS,            \
index dcd55103a4bb7ff433433c1bcdadc466376de52e..59001cea13f9bea05c1071cc6aaaf1fad9ad3458 100644 (file)
@@ -242,7 +242,6 @@ int main(void)
        DEFINE(PT_SZ_ALGN, align_frame(sizeof(struct pt_regs), FRAME_ALIGN));
        BLANK();
        DEFINE(TI_TASK, offsetof(struct thread_info, task));
-       DEFINE(TI_EXEC_DOMAIN, offsetof(struct thread_info, exec_domain));
        DEFINE(TI_FLAGS, offsetof(struct thread_info, flags));
        DEFINE(TI_CPU, offsetof(struct thread_info, cpu));
        DEFINE(TI_SEGMENT, offsetof(struct thread_info, addr_limit));
index 72489799cf022f97885f1a973ac2fce7fdf32c6d..7efee4a3240ba291481ccf135725fc8371cdcbee 100644 (file)
@@ -39,7 +39,6 @@
  */
 struct thread_info {
        struct task_struct *task;               /* main task structure */
-       struct exec_domain *exec_domain;        /* execution domain */
        int             cpu;                    /* cpu we're on */
        int             preempt_count;          /* 0 => preemptable,
                                                   <0 => BUG */
@@ -55,7 +54,6 @@ struct thread_info {
 #define INIT_THREAD_INFO(tsk)                  \
 {                                              \
        .task =         &tsk,                   \
-       .exec_domain =  &default_exec_domain,   \
        .cpu =          0,                      \
        .preempt_count = INIT_PREEMPT_COUNT,    \
        .flags =        0,                      \
index 33864fa2a8d4cd7cc4135e9fa87b3eab591609aa..7d9ffb15c47779bfd270de262252a1d98a0fee99 100644 (file)
@@ -28,7 +28,6 @@
  */
 struct thread_info {
        struct task_struct      *task;          /* main task structure */
-       struct exec_domain      *exec_domain;   /* execution domain */
        unsigned long           flags;          /* low level flags */
        unsigned long           tp_value;       /* thread pointer */
        __u32                   cpu;            /* current CPU */
@@ -53,7 +52,6 @@ struct thread_info {
 #define INIT_THREAD_INFO(tsk)                  \
 {                                              \
        .task           = &tsk,                 \
-       .exec_domain    = &default_exec_domain, \
        .cpu            = 0,                    \
        .preempt_count  = 1,                    \
        .addr_limit     = KERNEL_DS,            \
index b4d5214a7a7e261d21c3353c7901d2c0b3d129ba..52794f9421e240934061e0564e578ff9edc7f5e2 100644 (file)
@@ -100,7 +100,6 @@ void output_thread_info_defines(void)
 {
        COMMENT("SCORE thread_info offsets.");
        OFFSET(TI_TASK, thread_info, task);
-       OFFSET(TI_EXEC_DOMAIN, thread_info, exec_domain);
        OFFSET(TI_FLAGS, thread_info, flags);
        OFFSET(TI_TP_VALUE, thread_info, tp_value);
        OFFSET(TI_CPU, thread_info, cpu);