2005-04-16 18:20:36 -04: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 17:54:50 -04:00
|
|
|
#include <linux/percpu.h>
|
2005-04-16 18:20:36 -04:00
|
|
|
|
|
|
|
struct i386_cpu {
|
|
|
|
struct cpu cpu;
|
|
|
|
};
|
|
|
|
extern int arch_register_cpu(int num);
|
|
|
|
#ifdef CONFIG_HOTPLUG_CPU
|
|
|
|
extern void arch_unregister_cpu(int);
|
2006-12-06 20:14:10 -05:00
|
|
|
extern int enable_cpu_hotplug;
|
|
|
|
#else
|
|
|
|
#define enable_cpu_hotplug 0
|
2005-04-16 18:20:36 -04:00
|
|
|
#endif
|
|
|
|
|
2005-06-25 17:54:50 -04:00
|
|
|
DECLARE_PER_CPU(int, cpu_state);
|
2005-04-16 18:20:36 -04:00
|
|
|
#endif /* _ASM_I386_CPU_H_ */
|