]>
Commit | Line | Data |
---|---|---|
77ef50a5 VN |
1 | #ifndef ASM_X86__CPU_H |
2 | #define ASM_X86__CPU_H | |
1da177e4 LT |
3 | |
4 | #include <linux/device.h> | |
5 | #include <linux/cpu.h> | |
6 | #include <linux/topology.h> | |
7 | #include <linux/nodemask.h> | |
f3705136 | 8 | #include <linux/percpu.h> |
1da177e4 | 9 | |
30964d54 | 10 | struct x86_cpu { |
1da177e4 LT |
11 | struct cpu cpu; |
12 | }; | |
d9874026 | 13 | |
1da177e4 | 14 | #ifdef CONFIG_HOTPLUG_CPU |
d9874026 | 15 | extern int arch_register_cpu(int num); |
1da177e4 LT |
16 | extern void arch_unregister_cpu(int); |
17 | #endif | |
18 | ||
f3705136 | 19 | DECLARE_PER_CPU(int, cpu_state); |
77ef50a5 | 20 | #endif /* ASM_X86__CPU_H */ |