s390: move cputime accounting fields from thread_info to thread_struct
The user_timer and system_timer fields are used for the per-thread cputime accounting code. The access to these values is simpler if they are moved to the thread_struct as the task_thread_info(tsk) indirection is not needed anymore. Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
@@ -41,8 +41,6 @@ int main(void)
|
||||
/* thread info offsets */
|
||||
OFFSET(__TI_flags, task_struct, thread_info.flags);
|
||||
OFFSET(__TI_sysc_table, task_struct, thread_info.sys_call_table);
|
||||
OFFSET(__TI_user_timer, task_struct, thread_info.user_timer);
|
||||
OFFSET(__TI_system_timer, task_struct, thread_info.system_timer);
|
||||
OFFSET(__TI_last_break, task_struct, thread_info.last_break);
|
||||
BLANK();
|
||||
/* pt_regs offsets */
|
||||
|
||||
Reference in New Issue
Block a user