diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-06-20 02:18:09 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 01:47:39 -0400 |
commit | dcd32b6a1ffe6c040f8346f7fbaf4318bb8ae41c (patch) | |
tree | 51b06c0bf8bc80dd2a6f9155a4a295f5b0ccdccb /arch/x86/kernel/cpu/cpu.h | |
parent | 3a27dd1ce5de08e21e0266ddf00e6f1f843bfe8b (diff) |
x86: make 64-bit identify_cpu use cpu_dev
we may need to move some functions to common.c later
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/cpu/cpu.h')
-rw-r--r-- | arch/x86/kernel/cpu/cpu.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/x86/kernel/cpu/cpu.h b/arch/x86/kernel/cpu/cpu.h index 40ad1893fe8..4d894e8565f 100644 --- a/arch/x86/kernel/cpu/cpu.h +++ b/arch/x86/kernel/cpu/cpu.h | |||
@@ -1,4 +1,6 @@ | |||
1 | #ifdef CONFIG_X86_32 | 1 | #ifndef ARCH_X86_CPU_H |
2 | |||
3 | #define ARCH_X86_CPU_H | ||
2 | 4 | ||
3 | struct cpu_model_info { | 5 | struct cpu_model_info { |
4 | int vendor; | 6 | int vendor; |
@@ -38,4 +40,4 @@ extern struct cpu_vendor_dev __x86cpuvendor_start[], __x86cpuvendor_end[]; | |||
38 | extern int get_model_name(struct cpuinfo_x86 *c); | 40 | extern int get_model_name(struct cpuinfo_x86 *c); |
39 | extern void display_cacheinfo(struct cpuinfo_x86 *c); | 41 | extern void display_cacheinfo(struct cpuinfo_x86 *c); |
40 | 42 | ||
41 | #endif /* CONFIG_X86_32 */ | 43 | #endif |