cpu.h 456 B

123456789101112131415161718192021222324
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _ASM_IA64_CPU_H_
  3. #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>
  8. struct ia64_cpu {
  9. struct cpu cpu;
  10. };
  11. DECLARE_PER_CPU(struct ia64_cpu, cpu_devices);
  12. DECLARE_PER_CPU(int, cpu_state);
  13. #ifdef CONFIG_HOTPLUG_CPU
  14. extern int arch_register_cpu(int num);
  15. extern void arch_unregister_cpu(int);
  16. #endif
  17. #endif /* _ASM_IA64_CPU_H_ */