]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/mips/include/asm/thread_info.h
arch: Remove exec_domain from remaining archs
[karo-tx-linux.git] / arch / mips / include / asm / thread_info.h
index e4440f92b366f7a1d90e4af10dd2477acdf0223a..8408a30c47f33f826503488c5d25230ec6deaf66 100644 (file)
  */
 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 */
        int                     preempt_count;  /* 0 => preemptable, <0 => BUG */
-
+       int                     r2_emul_return; /* 1 => Returning from R2 emulator */
        mm_segment_t            addr_limit;     /*
                                                 * thread address space limit:
                                                 * 0x7fffffff for user-thead
                                                 * 0xffffffff for kernel-thread
                                                 */
-       struct restart_block    restart_block;
        struct pt_regs          *regs;
        long                    syscall;        /* syscall number */
 };
@@ -45,14 +43,10 @@ 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,   \
        .addr_limit     = KERNEL_DS,            \
-       .restart_block  = {                     \
-               .fn = do_no_restart_syscall,    \
-       },                                      \
 }
 
 #define init_thread_info       (init_thread_union.thread_info)