Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 110350
b: refs/heads/master
c: 2bd455d
h: refs/heads/master
v: v3
  • Loading branch information
Li Zefan authored and Ingo Molnar committed Aug 15, 2008
1 parent 5902f55 commit 23cae4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: 59f09ba2b62e6f89beeb4c8fc2c83fe14321dda9
refs/heads/master: 2bd455dbfebfd632a8dcf1d3d1612737986fde0a
5 changes: 1 addition & 4 deletions trunk/arch/x86/kernel/smpboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -1271,16 +1271,13 @@ __init void prefill_possible_map(void)
if (!num_processors)
num_processors = 1;

#ifdef CONFIG_HOTPLUG_CPU
if (additional_cpus == -1) {
if (disabled_cpus > 0)
additional_cpus = disabled_cpus;
else
additional_cpus = 0;
}
#else
additional_cpus = 0;
#endif

possible = num_processors + additional_cpus;
if (possible > NR_CPUS)
possible = NR_CPUS;
Expand Down

0 comments on commit 23cae4a

Please sign in to comment.