]> pilppa.org Git - linux-2.6-omap-h63xx.git/blob - arch/x86/include/asm/cpu.h
x86: smp.h move prefill_possible_map declartion to cpu.h
[linux-2.6-omap-h63xx.git] / arch / x86 / include / asm / cpu.h
1 #ifndef _ASM_X86_CPU_H
2 #define _ASM_X86_CPU_H
3
4 #include <linux/device.h>
5 #include <linux/cpu.h>
6 #include <linux/topology.h>
7 #include <linux/nodemask.h>
8 #include <linux/percpu.h>
9
10 #ifdef CONFIG_SMP
11
12 extern void prefill_possible_map(void);
13
14 #else /* CONFIG_SMP */
15
16 static inline void prefill_possible_map(void) {}
17
18 #endif /* CONFIG_SMP */
19
20 struct x86_cpu {
21         struct cpu cpu;
22 };
23
24 #ifdef CONFIG_HOTPLUG_CPU
25 extern int arch_register_cpu(int num);
26 extern void arch_unregister_cpu(int);
27 #endif
28
29 DECLARE_PER_CPU(int, cpu_state);
30 #endif /* _ASM_X86_CPU_H */