git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
include
/
asm-i386
/
cpu.h
diff --git
a/include/asm-i386/cpu.h
b/include/asm-i386/cpu.h
index
a2e581f
..
9d914e1
100644
(file)
--- a/
include/asm-i386/cpu.h
+++ b/
include/asm-i386/cpu.h
@@
-5,16
+5,18
@@
#include <linux/cpu.h>
#include <linux/topology.h>
#include <linux/nodemask.h>
#include <linux/cpu.h>
#include <linux/topology.h>
#include <linux/nodemask.h>
-
-#include <asm/node.h>
+#include <linux/percpu.h>
struct i386_cpu {
struct cpu cpu;
};
struct i386_cpu {
struct cpu cpu;
};
-extern struct i386_cpu cpu_devices[NR_CPUS];
extern int arch_register_cpu(int num);
#ifdef CONFIG_HOTPLUG_CPU
extern void arch_unregister_cpu(int);
extern int arch_register_cpu(int num);
#ifdef CONFIG_HOTPLUG_CPU
extern void arch_unregister_cpu(int);
+extern int enable_cpu_hotplug;
+#else
+#define enable_cpu_hotplug 0
#endif
#endif
+DECLARE_PER_CPU(int, cpu_state);
#endif /* _ASM_I386_CPU_H_ */
#endif /* _ASM_I386_CPU_H_ */