Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 108204
b: refs/heads/master
c: 279ef6b
h: refs/heads/master
v: v3
  • Loading branch information
Dmitry Adamushko authored and Ingo Molnar committed Aug 11, 2008
1 parent 443bc9a commit e5881a7
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 77ae651347bdd46830da8b28b1efc5e4a9d7cbd0
refs/heads/master: 279ef6bbb8308488398c8f33b04c760148428378
5 changes: 2 additions & 3 deletions trunk/kernel/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,8 @@ static int __cpuinit _cpu_up(unsigned int cpu, int tasks_frozen)
goto out_notify;
BUG_ON(!cpu_online(cpu));

cpu_set(cpu, cpu_active_map);

/* Now call notifier in preparation. */
raw_notifier_call_chain(&cpu_chain, CPU_ONLINE | mod, hcpu);

Expand Down Expand Up @@ -383,9 +385,6 @@ int __cpuinit cpu_up(unsigned int cpu)

err = _cpu_up(cpu, 0);

if (cpu_online(cpu))
cpu_set(cpu, cpu_active_map);

out:
cpu_maps_update_done();
return err;
Expand Down

0 comments on commit e5881a7

Please sign in to comment.