Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 191636
b: refs/heads/master
c: 9e8c5be
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mundt committed Apr 26, 2010
1 parent 8b6d644 commit 4d709aa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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: 3366e3585fbf0d40ce6f2382b544851cf4df1654
refs/heads/master: 9e8c5be8b76b188ec5bc95b378cf67aaeba1f695
6 changes: 5 additions & 1 deletion trunk/arch/sh/kernel/topology.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,11 @@ static int __init topology_init(void)
#endif

for_each_present_cpu(i) {
ret = register_cpu(&per_cpu(cpu_devices, i), i);
struct cpu *c = &per_cpu(cpu_devices, i);

c->hotpluggable = 1;

ret = register_cpu(c, i);
if (unlikely(ret))
printk(KERN_WARNING "%s: register_cpu %d failed (%d)\n",
__func__, i, ret);
Expand Down

0 comments on commit 4d709aa

Please sign in to comment.