Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88811
b: refs/heads/master
c: 1161705
h: refs/heads/master
i:
  88809: 35710e0
  88807: 73c1a75
v: v3
  • Loading branch information
Ingo Molnar committed Apr 17, 2008
1 parent 359566c commit 9c48970
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a6c422ccdb57924bd20ae408dba8e9db01d09677
refs/heads/master: 1161705bd66df0c80fa45e87190e456c02e6f145
6 changes: 6 additions & 0 deletions trunk/arch/x86/kernel/mpparse_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ unsigned disabled_cpus __cpuinitdata;
/* Bitmask of physically existing CPUs */
physid_mask_t phys_cpu_present_map;

#ifndef CONFIG_SMP
DEFINE_PER_CPU(u16, x86_bios_cpu_apicid) = BAD_APICID;
#endif

/*
* Intel MP BIOS table parsing routines:
*/
Expand Down Expand Up @@ -229,6 +233,7 @@ static void __cpuinit MP_processor_info (struct mpc_config_processor *m)
def_to_bigsmp = 1;
}
}
#ifdef CONFIG_SMP
/* are we being called early in kernel startup? */
if (x86_cpu_to_apicid_early_ptr) {
u16 *cpu_to_apicid = x86_cpu_to_apicid_early_ptr;
Expand All @@ -240,6 +245,7 @@ static void __cpuinit MP_processor_info (struct mpc_config_processor *m)
per_cpu(x86_cpu_to_apicid, cpu) = m->mpc_apicid;
per_cpu(x86_bios_cpu_apicid, cpu) = m->mpc_apicid;
}
#endif
cpu_set(cpu, cpu_present_map);
}

Expand Down

0 comments on commit 9c48970

Please sign in to comment.