]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - arch/s390/include/asm/thread_info.h
s390: move sys_call_table and last_break from thread_info to thread_struct
[mirror_ubuntu-zesty-kernel.git] / arch / s390 / include / asm / thread_info.h
index f15c0398c3637ed49083ad4334c2b2b34e7e591c..6084706885ab24e4234d3bd614113559aa8c0c21 100644 (file)
  * - if the contents of this structure are changed, the assembly constants must also be changed
  */
 struct thread_info {
-       struct task_struct      *task;          /* main task structure */
        unsigned long           flags;          /* low level flags */
-       unsigned long           sys_call_table; /* System call table address */
-       unsigned int            cpu;            /* current CPU */
-       int                     preempt_count;  /* 0 => preemptable, <0 => BUG */
-       unsigned int            system_call;
-       __u64                   user_timer;
-       __u64                   system_timer;
-       unsigned long           last_break;     /* last breaking-event-address. */
 };
 
 /*
@@ -46,21 +38,11 @@ struct thread_info {
  */
 #define INIT_THREAD_INFO(tsk)                  \
 {                                              \
-       .task           = &tsk,                 \
        .flags          = 0,                    \
-       .cpu            = 0,                    \
-       .preempt_count  = INIT_PREEMPT_COUNT,   \
 }
 
-#define init_thread_info       (init_thread_union.thread_info)
 #define init_stack             (init_thread_union.stack)
 
-/* how to get the thread information struct from C */
-static inline struct thread_info *current_thread_info(void)
-{
-       return (struct thread_info *) S390_lowcore.thread_info;
-}
-
 void arch_release_task_struct(struct task_struct *tsk);
 int arch_dup_task_struct(struct task_struct *dst, struct task_struct *src);