smp.h 422 B

123456789101112131415161718192021
  1. #ifndef _ASM_X86_SMP_H_
  2. #define _ASM_X86_SMP_H_
  3. #ifndef __ASSEMBLY__
  4. #include <linux/cpumask.h>
  5. extern cpumask_t cpu_callout_map;
  6. extern int smp_num_siblings;
  7. extern unsigned int num_processors;
  8. #ifdef CONFIG_X86_32
  9. # include "smp_32.h"
  10. #else
  11. # include "smp_64.h"
  12. #endif
  13. extern void smp_alloc_memory(void);
  14. extern void lock_ipi_call_lock(void);
  15. extern void unlock_ipi_call_lock(void);
  16. #endif /* __ASSEMBLY__ */
  17. #endif