cpu.h 389 B

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