aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ia64/cpu.h')
-rw-r--r--include/asm-ia64/cpu.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/asm-ia64/cpu.h b/include/asm-ia64/cpu.h
new file mode 100644
index 000000000000..e87fa3210a2b
--- /dev/null
+++ b/include/asm-ia64/cpu.h
@@ -0,0 +1,22 @@
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
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
17extern int arch_register_cpu(int num);
18#ifdef CONFIG_HOTPLUG_CPU
19extern void arch_unregister_cpu(int);
20#endif
21
22#endif /* _ASM_IA64_CPU_H_ */