diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2007-10-12 21:27:47 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2007-10-12 21:27:47 -0400 |
commit | b981d8b3f5e008ff10d993be633ad00564fc22cd (patch) | |
tree | e292dc07b22308912cf6a58354a608b9e5e8e1fd /include/asm-x86/cpu.h | |
parent | b11d2127c4893a7315d1e16273bc8560049fa3ca (diff) | |
parent | 2b9e0aae1d50e880c58d46788e5e3ebd89d75d62 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6
Conflicts:
drivers/macintosh/adbhid.c
Diffstat (limited to 'include/asm-x86/cpu.h')
-rw-r--r-- | include/asm-x86/cpu.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/asm-x86/cpu.h b/include/asm-x86/cpu.h new file mode 100644 index 000000000000..9d914e1e4aad --- /dev/null +++ b/include/asm-x86/cpu.h | |||
@@ -0,0 +1,22 @@ | |||
1 | #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> | ||
8 | #include <linux/percpu.h> | ||
9 | |||
10 | struct i386_cpu { | ||
11 | struct cpu cpu; | ||
12 | }; | ||
13 | extern int arch_register_cpu(int num); | ||
14 | #ifdef CONFIG_HOTPLUG_CPU | ||
15 | extern void arch_unregister_cpu(int); | ||
16 | extern int enable_cpu_hotplug; | ||
17 | #else | ||
18 | #define enable_cpu_hotplug 0 | ||
19 | #endif | ||
20 | |||
21 | DECLARE_PER_CPU(int, cpu_state); | ||
22 | #endif /* _ASM_I386_CPU_H_ */ | ||