1 #ifndef _ASM_X86_SMP_H_
2 #define _ASM_X86_SMP_H_
4 #include <linux/cpumask.h>
6 extern cpumask_t cpu_callout_map;
8 extern int smp_num_siblings;
9 extern unsigned int num_processors;
12 void (*smp_prepare_boot_cpu)(void);
13 void (*smp_prepare_cpus)(unsigned max_cpus);
14 int (*cpu_up)(unsigned cpu);
15 void (*smp_cpus_done)(unsigned max_cpus);
17 void (*smp_send_stop)(void);
18 void (*smp_send_reschedule)(int cpu);
19 int (*smp_call_function_mask)(cpumask_t mask,
20 void (*func)(void *info), void *info,
25 extern struct smp_ops smp_ops;
27 static inline void smp_send_reschedule(int cpu)
29 smp_ops.smp_send_reschedule(cpu);
39 extern void smp_alloc_memory(void);
40 extern void lock_ipi_call_lock(void);
41 extern void unlock_ipi_call_lock(void);
42 #endif /* __ASSEMBLY__ */