2008-06-18 17:08:48 +02:00
|
|
|
#ifndef ASM_X86__CPU_H
|
|
|
|
#define ASM_X86__CPU_H
|
2005-04-17 00:20:36 +02:00
|
|
|
|
|
|
|
#include <linux/device.h>
|
|
|
|
#include <linux/cpu.h>
|
|
|
|
#include <linux/topology.h>
|
|
|
|
#include <linux/nodemask.h>
|
2005-06-25 23:54:50 +02:00
|
|
|
#include <linux/percpu.h>
|
2005-04-17 00:20:36 +02:00
|
|
|
|
2008-01-30 13:33:11 +01:00
|
|
|
struct x86_cpu {
|
2005-04-17 00:20:36 +02:00
|
|
|
struct cpu cpu;
|
|
|
|
};
|
2008-02-01 17:49:43 +01:00
|
|
|
|
2005-04-17 00:20:36 +02:00
|
|
|
#ifdef CONFIG_HOTPLUG_CPU
|
2008-02-01 17:49:43 +01:00
|
|
|
extern int arch_register_cpu(int num);
|
2005-04-17 00:20:36 +02:00
|
|
|
extern void arch_unregister_cpu(int);
|
|
|
|
#endif
|
|
|
|
|
2005-06-25 23:54:50 +02:00
|
|
|
DECLARE_PER_CPU(int, cpu_state);
|
2008-06-18 17:08:48 +02:00
|
|
|
#endif /* ASM_X86__CPU_H */
|