diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-06-21 06:24:00 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 06:48:35 -0400 |
commit | 9a250347591da3e60b5ee53dd1d341732f081117 (patch) | |
tree | 5eca3decf9cda3051a0888b0b013a9193584eca3 | |
parent | f580366f77cc4e035a68369105fbeae5bf436b4c (diff) |
x86: change identify_cpu to static
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | arch/x86/kernel/cpu/common.c | 2 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/common_64.c | 2 | ||||
-rw-r--r-- | include/asm-x86/processor.h | 1 |
3 files changed, 2 insertions, 3 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c index d0463a946247..80ab20d4fa39 100644 --- a/arch/x86/kernel/cpu/common.c +++ b/arch/x86/kernel/cpu/common.c | |||
@@ -427,7 +427,7 @@ __setup("serialnumber", x86_serial_nr_setup); | |||
427 | /* | 427 | /* |
428 | * This does the hard work of actually picking apart the CPU stuff... | 428 | * This does the hard work of actually picking apart the CPU stuff... |
429 | */ | 429 | */ |
430 | void __cpuinit identify_cpu(struct cpuinfo_x86 *c) | 430 | static void __cpuinit identify_cpu(struct cpuinfo_x86 *c) |
431 | { | 431 | { |
432 | int i; | 432 | int i; |
433 | 433 | ||
diff --git a/arch/x86/kernel/cpu/common_64.c b/arch/x86/kernel/cpu/common_64.c index b6f205063f74..48ba79961583 100644 --- a/arch/x86/kernel/cpu/common_64.c +++ b/arch/x86/kernel/cpu/common_64.c | |||
@@ -312,7 +312,7 @@ static void __cpuinit early_identify_cpu(struct cpuinfo_x86 *c) | |||
312 | /* | 312 | /* |
313 | * This does the hard work of actually picking apart the CPU stuff... | 313 | * This does the hard work of actually picking apart the CPU stuff... |
314 | */ | 314 | */ |
315 | void __cpuinit identify_cpu(struct cpuinfo_x86 *c) | 315 | static void __cpuinit identify_cpu(struct cpuinfo_x86 *c) |
316 | { | 316 | { |
317 | int i; | 317 | int i; |
318 | 318 | ||
diff --git a/include/asm-x86/processor.h b/include/asm-x86/processor.h index a5df34fb5231..12b5ede14c7a 100644 --- a/include/asm-x86/processor.h +++ b/include/asm-x86/processor.h | |||
@@ -154,7 +154,6 @@ static inline int hlt_works(int cpu) | |||
154 | extern void cpu_detect(struct cpuinfo_x86 *c); | 154 | extern void cpu_detect(struct cpuinfo_x86 *c); |
155 | 155 | ||
156 | extern void early_cpu_init(void); | 156 | extern void early_cpu_init(void); |
157 | extern void identify_cpu(struct cpuinfo_x86 *); | ||
158 | extern void identify_boot_cpu(void); | 157 | extern void identify_boot_cpu(void); |
159 | extern void identify_secondary_cpu(struct cpuinfo_x86 *); | 158 | extern void identify_secondary_cpu(struct cpuinfo_x86 *); |
160 | extern void print_cpu_info(struct cpuinfo_x86 *); | 159 | extern void print_cpu_info(struct cpuinfo_x86 *); |