#ifndef _ASM_X86_CPU_H #define _ASM_X86_CPU_H #include #include #include #include #include #ifdef CONFIG_SMP extern void prefill_possible_map(void); #else /* CONFIG_SMP */ static inline void prefill_possible_map(void) {} #endif /* CONFIG_SMP */ struct x86_cpu { struct cpu cpu; }; #ifdef CONFIG_HOTPLUG_CPU extern int arch_register_cpu(int num); extern void arch_unregister_cpu(int); #endif DECLARE_PER_CPU(int, cpu_state); #endif /* _ASM_X86_CPU_H */