cpu.h 418 B

123456789101112131415161718192021
  1. #ifndef _ASM_I386_CPU_H_
  2. #define _ASM_I386_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. #include <asm/node.h>
  9. struct i386_cpu {
  10. struct cpu cpu;
  11. };
  12. extern int arch_register_cpu(int num);
  13. #ifdef CONFIG_HOTPLUG_CPU
  14. extern void arch_unregister_cpu(int);
  15. #endif
  16. DECLARE_PER_CPU(int, cpu_state);
  17. #endif /* _ASM_I386_CPU_H_ */