Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 42724
b: refs/heads/master
c: 112cecb
h: refs/heads/master
v: v3
  • Loading branch information
Siddha, Suresh B authored and Linus Torvalds committed Dec 7, 2006
1 parent 2dc69c8 commit 35e4161
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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: 2d4a34c9365c6e3f94a5b26ce296e1fce9b66c8b
refs/heads/master: 112cecb2cc0e7341db92281ba04b26c41bb8146d
6 changes: 1 addition & 5 deletions trunk/kernel/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -270,11 +270,7 @@ int disable_nonboot_cpus(void)
goto out;
}
}
error = set_cpus_allowed(current, cpumask_of_cpu(first_cpu));
if (error) {
printk(KERN_ERR "Could not run on CPU%d\n", first_cpu);
goto out;
}

/* We take down all of the non-boot CPUs in one shot to avoid races
* with the userspace trying to use the CPU hotplug at the same time
*/
Expand Down

0 comments on commit 35e4161

Please sign in to comment.