Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 18071
b: refs/heads/master
c: ca9bc0b
h: refs/heads/master
i:
  18069: 6bc421c
  18067: 268eb58
  18063: 5249f15
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Jan 12, 2006
1 parent cc51f3e commit b5c5b70
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 36483c6b5e6cc8f29fbe5203caa7e0b836802747
refs/heads/master: ca9bc0bb2d1c7afdd34ec79b3de4d16a8e0225e8
2 changes: 1 addition & 1 deletion trunk/arch/um/kernel/process_kern.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
}

Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/um/kernel/tt/process_kern.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ void switch_to_tt(void *prev, void *next)
from = prev;
to = next;

cpu = from->thread_info->cpu;
cpu = task_thread_info(from)->cpu;
if(cpu == 0)
forward_interrupts(to->thread.mode.tt.extern_pid);
#ifdef CONFIG_SMP
Expand Down Expand Up @@ -343,7 +343,7 @@ int do_proc_op(void *t, int proc_id)
pid = thread->request.u.exec.pid;
do_exec(thread->mode.tt.extern_pid, pid);
thread->mode.tt.extern_pid = pid;
cpu_tasks[task->thread_info->cpu].pid = pid;
cpu_tasks[task_thread_info(task)->cpu].pid = pid;
break;
case OP_FORK:
attach_process(thread->request.u.fork.pid);
Expand Down

0 comments on commit b5c5b70

Please sign in to comment.