blob: fcca30b9f110bead57460586b466912d0eb77d68 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#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
9struct ia64_cpu {
10 struct cpu cpu;
11};
12
13DECLARE_PER_CPU(struct ia64_cpu, cpu_devices);
14
15DECLARE_PER_CPU(int, cpu_state);
16
Linus Torvalds1da177e2005-04-16 15:20:36 -070017#ifdef CONFIG_HOTPLUG_CPU
Hidetoshi Seto6d3c5112008-04-30 16:50:55 +090018extern int arch_register_cpu(int num);
Linus Torvalds1da177e2005-04-16 15:20:36 -070019extern void arch_unregister_cpu(int);
20#endif
21
22#endif /* _ASM_IA64_CPU_H_ */