diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2006-01-12 04:05:48 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-12 12:08:53 -0500 |
commit | ca9bc0bb2d1c7afdd34ec79b3de4d16a8e0225e8 (patch) | |
tree | 0233d66a5b61716f676ef78e45bb71e976668cd2 /arch/um/kernel/process_kern.c | |
parent | 36483c6b5e6cc8f29fbe5203caa7e0b836802747 (diff) |
[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>
Diffstat (limited to 'arch/um/kernel/process_kern.c')
-rw-r--r-- | arch/um/kernel/process_kern.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/kernel/process_kern.c b/arch/um/kernel/process_kern.c index d2d3f256778c..7f13b85d2656 100644 --- a/arch/um/kernel/process_kern.c +++ b/arch/um/kernel/process_kern.c | |||
@@ -107,7 +107,7 @@ void set_current(void *t) | |||
107 | { | 107 | { |
108 | struct task_struct *task = t; | 108 | struct task_struct *task = t; |
109 | 109 | ||
110 | cpu_tasks[task->thread_info->cpu] = ((struct cpu_task) | 110 | cpu_tasks[task_thread_info(task)->cpu] = ((struct cpu_task) |
111 | { external_pid(task), task }); | 111 | { external_pid(task), task }); |
112 | } | 112 | } |
113 | 113 | ||