Linux 2.6.26-rc5
[linux-2.6/openmoko-kernel/knife-kernel.git] / include / asm-ia64 / cpu.h
blobfcca30b9f110bead57460586b466912d0eb77d68
1 #ifndef _ASM_IA64_CPU_H_
2 #define _ASM_IA64_CPU_H_
4 #include <linux/device.h>
5 #include <linux/cpu.h>
6 #include <linux/topology.h>
7 #include <linux/percpu.h>
9 struct ia64_cpu {
10 struct cpu cpu;
13 DECLARE_PER_CPU(struct ia64_cpu, cpu_devices);
15 DECLARE_PER_CPU(int, cpu_state);
17 #ifdef CONFIG_HOTPLUG_CPU
18 extern int arch_register_cpu(int num);
19 extern void arch_unregister_cpu(int);
20 #endif
22 #endif /* _ASM_IA64_CPU_H_ */