mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
1 parent
1a7490299e
commit
5e91bc5c8a
2 files changed
+3
-2
No files matched your search
@@ -74,10 +74,10 @@ cpumask_t cpu_sibling_map[NR_CPUS] __cacheline_aligned;
|
||||
cpumask_t cpu_core_map[NR_CPUS] __cacheline_aligned;
|
||||
EXPORT_SYMBOL(cpu_core_map);
|
||||
|
||||
#ifdef __i386__
|
||||
#if defined(__i386__)
|
||||
u8 x86_cpu_to_apicid[NR_CPUS] = { [0 ... NR_CPUS-1] = 0xff };
|
||||
EXPORT_SYMBOL(x86_cpu_to_apicid);
|
||||
#else
|
||||
#elif !defined(CONFIG_X86_IO_APIC)
|
||||
unsigned int maxcpus = NR_CPUS;
|
||||
#endif
|
||||
|
||||
|
||||
@@ -54,6 +54,7 @@ extern u8 x86_cpu_to_apicid[];
|
||||
#define __smp_processor_id() (current_thread_info()->cpu)
|
||||
|
||||
extern cpumask_t cpu_possible_map;
|
||||
#define cpu_callin_map cpu_possible_map
|
||||
|
||||
/* We don't mark CPUs online until __cpu_up(), so we need another measure */
|
||||
static inline int num_booting_cpus(void)
|
||||
|
||||