[PATCH] uml: task_thread_info()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
@ -107,7 +107,7 @@ void set_current(void *t)
|
||||
{
|
||||
struct task_struct *task = t;
|
||||
|
||||
cpu_tasks[task->thread_info->cpu] = ((struct cpu_task)
|
||||
cpu_tasks[task_thread_info(task)->cpu] = ((struct cpu_task)
|
||||
{ external_pid(task), task });
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user