Auto-update from upstream
[linux-2.6-block.git] / include / asm-i386 / cpu.h
CommitLineData
1da177e4
LT
1#ifndef _ASM_I386_CPU_H_
2#define _ASM_I386_CPU_H_
3
4#include <linux/device.h>
5#include <linux/cpu.h>
6#include <linux/topology.h>
7#include <linux/nodemask.h>
f3705136 8#include <linux/percpu.h>
1da177e4
LT
9
10#include <asm/node.h>
11
12struct i386_cpu {
13 struct cpu cpu;
14};
15extern int arch_register_cpu(int num);
16#ifdef CONFIG_HOTPLUG_CPU
17extern void arch_unregister_cpu(int);
18#endif
19
f3705136 20DECLARE_PER_CPU(int, cpu_state);
1da177e4 21#endif /* _ASM_I386_CPU_H_ */