blob: e7252c216ca81cc8d6543f51b51fa1f8a216d194 [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
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
Zwane Mwaikambof3705132005-06-25 14:54:50 -070020DECLARE_PER_CPU(int, cpu_state);
Linus Torvalds1da177e2005-04-16 15:20:36 -070021#endif /* _ASM_I386_CPU_H_ */