blob: 73f2ea84fd74b024fa4ebc8e91cabcdab4340108 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#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>
Zwane Mwaikambof3705132005-06-25 14:54:50 -07008#include <linux/percpu.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -07009
travis@sgi.com30964d52008-01-30 13:33:11 +010010struct x86_cpu {
Linus Torvalds1da177e2005-04-16 15:20:36 -070011 struct cpu cpu;
12};
Alexander van Heukelumd9874022008-02-01 17:49:43 +010013
Linus Torvalds1da177e2005-04-16 15:20:36 -070014#ifdef CONFIG_HOTPLUG_CPU
Alexander van Heukelumd9874022008-02-01 17:49:43 +010015extern int arch_register_cpu(int num);
Linus Torvalds1da177e2005-04-16 15:20:36 -070016extern void arch_unregister_cpu(int);
17#endif
18
Zwane Mwaikambof3705132005-06-25 14:54:50 -070019DECLARE_PER_CPU(int, cpu_state);
Linus Torvalds1da177e2005-04-16 15:20:36 -070020#endif /* _ASM_I386_CPU_H_ */