blob: c130a87c956d222a80cb608c8016e65dd88d3574 [file] [log] [blame]
Glauber Costac27cfef2008-03-03 14:12:29 -03001#ifndef _ASM_X86_SMP_H_
2#define _ASM_X86_SMP_H_
3#ifndef __ASSEMBLY__
Glauber Costa53ebef42008-03-03 14:12:31 -03004#include <linux/cpumask.h>
5
6extern cpumask_t cpu_callout_map;
7
8extern int smp_num_siblings;
9extern unsigned int num_processors;
Glauber Costac27cfef2008-03-03 14:12:29 -030010
Thomas Gleixner96a388d2007-10-11 11:20:03 +020011#ifdef CONFIG_X86_32
12# include "smp_32.h"
13#else
14# include "smp_64.h"
15#endif
Glauber Costac27cfef2008-03-03 14:12:29 -030016
Glauber Costa639acb12008-03-03 14:12:30 -030017extern void smp_alloc_memory(void);
18extern void lock_ipi_call_lock(void);
19extern void unlock_ipi_call_lock(void);
Glauber Costac27cfef2008-03-03 14:12:29 -030020#endif /* __ASSEMBLY__ */
21#endif