Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105917
b: refs/heads/master
c: da5ef6b
h: refs/heads/master
i:
  105915: 4f603ad
v: v3
  • Loading branch information
Lai Jiangshan authored and Linus Torvalds committed Jul 25, 2008
1 parent e81392b commit 27c74e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 02412483777651a26b19a75e49c2a451a174ca9c
refs/heads/master: da5ef6bb96158b0fc0d808704237a453af449124
4 changes: 2 additions & 2 deletions trunk/kernel/cpuset.c
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ void cpuset_update_task_memory_state(void)
my_cpusets_mem_gen = top_cpuset.mems_generation;
} else {
rcu_read_lock();
my_cpusets_mem_gen = task_cs(current)->mems_generation;
my_cpusets_mem_gen = task_cs(tsk)->mems_generation;
rcu_read_unlock();
}

Expand Down Expand Up @@ -1777,7 +1777,7 @@ static void move_member_tasks_to_cpuset(struct cpuset *from, struct cpuset *to)
scan.scan.heap = NULL;
scan.to = to->css.cgroup;

if (cgroup_scan_tasks((struct cgroup_scanner *)&scan))
if (cgroup_scan_tasks(&scan.scan))
printk(KERN_ERR "move_member_tasks_to_cpuset: "
"cgroup_scan_tasks failed\n");
}
Expand Down

0 comments on commit 27c74e3

Please sign in to comment.