cpu.h 417 B

12345678910111213141516171819202122
  1. #ifndef _ASM_IA64_CPU_H_
  2. #define _ASM_IA64_CPU_H_
  3. #include <linux/device.h>
  4. #include <linux/cpu.h>
  5. #include <linux/topology.h>
  6. #include <linux/percpu.h>
  7. struct ia64_cpu {
  8. struct cpu cpu;
  9. };
  10. DECLARE_PER_CPU(struct ia64_cpu, cpu_devices);
  11. DECLARE_PER_CPU(int, cpu_state);
  12. #ifdef CONFIG_HOTPLUG_CPU
  13. extern int arch_register_cpu(int num);
  14. extern void arch_unregister_cpu(int);
  15. #endif
  16. #endif /* _ASM_IA64_CPU_H_ */