diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2008-01-30 07:30:16 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:30:16 -0500 |
commit | 8c61b900ebb8ec5918ffd776ba1a61a5f022566d (patch) | |
tree | 894d0ca4990f08324a322e0bdbd06839e9da0430 /arch | |
parent | 376ff0352c24a5fa47f1250dd60937b5a9077672 (diff) |
x86: make early_indentify_cpu static
early_indentify_cpu is only used in setup_64.c
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/setup_64.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/kernel/setup_64.c b/arch/x86/kernel/setup_64.c index 97a497652d20..0e2bffe2e203 100644 --- a/arch/x86/kernel/setup_64.c +++ b/arch/x86/kernel/setup_64.c | |||
@@ -141,6 +141,8 @@ struct resource bss_resource = { | |||
141 | .flags = IORESOURCE_RAM, | 141 | .flags = IORESOURCE_RAM, |
142 | }; | 142 | }; |
143 | 143 | ||
144 | static void __cpuinit early_identify_cpu(struct cpuinfo_x86 *c); | ||
145 | |||
144 | #ifdef CONFIG_PROC_VMCORE | 146 | #ifdef CONFIG_PROC_VMCORE |
145 | /* elfcorehdr= specifies the location of elf core header | 147 | /* elfcorehdr= specifies the location of elf core header |
146 | * stored by the crashed kernel. This option will be passed | 148 | * stored by the crashed kernel. This option will be passed |
@@ -844,7 +846,7 @@ struct cpu_model_info { | |||
844 | /* Do some early cpuid on the boot CPU to get some parameter that are | 846 | /* Do some early cpuid on the boot CPU to get some parameter that are |
845 | needed before check_bugs. Everything advanced is in identify_cpu | 847 | needed before check_bugs. Everything advanced is in identify_cpu |
846 | below. */ | 848 | below. */ |
847 | void __cpuinit early_identify_cpu(struct cpuinfo_x86 *c) | 849 | static void __cpuinit early_identify_cpu(struct cpuinfo_x86 *c) |
848 | { | 850 | { |
849 | u32 tfms; | 851 | u32 tfms; |
850 | 852 | ||