Fix -xen builds.

Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2005-10-18 19:28:16 +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)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.