2005-04-16 15:20:36 -07:00
|
|
|
#ifndef _ASM_I386_CPU_H_
|
|
|
|
#define _ASM_I386_CPU_H_
|
|
|
|
|
|
|
|
#include <linux/device.h>
|
|
|
|
#include <linux/cpu.h>
|
|
|
|
#include <linux/topology.h>
|
|
|
|
#include <linux/nodemask.h>
|
2005-06-25 14:54:50 -07:00
|
|
|
#include <linux/percpu.h>
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-01-30 05:33:11 -07:00
|
|
|
struct x86_cpu {
|
2005-04-16 15:20:36 -07:00
|
|
|
struct cpu cpu;
|
|
|
|
};
|
2008-02-01 09:49:43 -07:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
#ifdef CONFIG_HOTPLUG_CPU
|
2008-02-01 09:49:43 -07:00
|
|
|
extern int arch_register_cpu(int num);
|
2005-04-16 15:20:36 -07:00
|
|
|
extern void arch_unregister_cpu(int);
|
|
|
|
#endif
|
|
|
|
|
2005-06-25 14:54:50 -07:00
|
|
|
DECLARE_PER_CPU(int, cpu_state);
|
2005-04-16 15:20:36 -07:00
|
|
|
#endif /* _ASM_I386_CPU_H_ */
|