x86: use raw locks during oopses
[linux-2.6/mini2440.git] / include / asm-x86 / cpu.h
blobb1bc7b1b64b0e304d13f907e4d5cd607417bdfee
1 #ifndef _ASM_I386_CPU_H_
2 #define _ASM_I386_CPU_H_
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>
10 struct i386_cpu {
11 struct cpu cpu;
13 extern int arch_register_cpu(int num);
14 #ifdef CONFIG_HOTPLUG_CPU
15 extern void arch_unregister_cpu(int);
16 #endif
18 DECLARE_PER_CPU(int, cpu_state);
19 #endif /* _ASM_I386_CPU_H_ */