Skip to content

Commit

Permalink
x86: mpparse: 64-bit fix
Browse files Browse the repository at this point in the history
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Ingo Molnar committed Apr 17, 2008
1 parent 8be9ac8 commit e937fcf
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions arch/x86/kernel/mpparse_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,20 @@ void *x86_bios_cpu_apicid_early_ptr;
DEFINE_PER_CPU(u16, x86_bios_cpu_apicid) = BAD_APICID;
EXPORT_PER_CPU_SYMBOL(x86_bios_cpu_apicid);

/* Make it easy to share the UP and SMP code: */
#ifndef CONFIG_X86_SMP
unsigned int num_processors;
unsigned disabled_cpus __cpuinitdata;
#ifndef CONFIG_X86_LOCAL_APIC
unsigned int boot_cpu_physical_apicid = -1U;
#endif
#endif

/* Make it easy to share the UP and SMP code: */
#ifndef CONFIG_X86_SMP
physid_mask_t phys_cpu_present_map;
#endif

/*
* Intel MP BIOS table parsing routines:
*/
Expand Down

0 comments on commit e937fcf

Please sign in to comment.