blob: b1bc7b1b64b0e304d13f907e4d5cd607417bdfee [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
Linus Torvalds1da177e2005-04-16 15:20:36 -070010struct i386_cpu {
11 struct cpu cpu;
12};
13extern int arch_register_cpu(int num);
14#ifdef CONFIG_HOTPLUG_CPU
15extern void arch_unregister_cpu(int);
16#endif
17
Zwane Mwaikambof3705132005-06-25 14:54:50 -070018DECLARE_PER_CPU(int, cpu_state);
Linus Torvalds1da177e2005-04-16 15:20:36 -070019#endif /* _ASM_I386_CPU_H_ */