Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88709
b: refs/heads/master
c: 7b1292e
h: refs/heads/master
i:
  88707: 1c45286
v: v3
  • Loading branch information
Glauber Costa authored and Ingo Molnar committed Apr 17, 2008
1 parent fbb2a4f commit 5cecc03
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: 93b016f8f393c1f8c27e8c4df06ad1420fac65f5
refs/heads/master: 7b1292e2371e3ae2ac69fbb899d539ddc7b53a27
6 changes: 5 additions & 1 deletion trunk/arch/x86/kernel/mpparse_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ unsigned int boot_cpu_physical_apicid = -1U;
/* Internal processor count */
unsigned int num_processors;

unsigned disabled_cpus __cpuinitdata;

/* Bitmask of physically existing CPUs */
physid_mask_t phys_cpu_present_map;

Expand Down Expand Up @@ -108,8 +110,10 @@ static void __cpuinit MP_processor_info (struct mpc_config_processor *m)
int ver, apicid;
physid_mask_t phys_cpu;

if (!(m->mpc_cpuflag & CPU_ENABLED))
if (!(m->mpc_cpuflag & CPU_ENABLED)) {
disabled_cpus++;
return;
}

apicid = mpc_apic_id(m, translation_table[mpc_record]);

Expand Down

0 comments on commit 5cecc03

Please sign in to comment.