home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / arch / x86 / include / asm / cpu.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-12-24  |  389 b   |  21 lines

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