home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / src / linux-headers-2.6.17-6 / include / asm-ia64 / cpu.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-08-11  |  417 b   |  23 lines

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