Commit 8c61b900 authored by Thomas Gleixner's avatar Thomas Gleixner Committed by Ingo Molnar

x86: make early_indentify_cpu static

early_indentify_cpu is only used in setup_64.c
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 376ff035
...@@ -141,6 +141,8 @@ struct resource bss_resource = { ...@@ -141,6 +141,8 @@ struct resource bss_resource = {
.flags = IORESOURCE_RAM, .flags = IORESOURCE_RAM,
}; };
static void __cpuinit early_identify_cpu(struct cpuinfo_x86 *c);
#ifdef CONFIG_PROC_VMCORE #ifdef CONFIG_PROC_VMCORE
/* elfcorehdr= specifies the location of elf core header /* elfcorehdr= specifies the location of elf core header
* stored by the crashed kernel. This option will be passed * stored by the crashed kernel. This option will be passed
...@@ -844,7 +846,7 @@ struct cpu_model_info { ...@@ -844,7 +846,7 @@ struct cpu_model_info {
/* Do some early cpuid on the boot CPU to get some parameter that are /* Do some early cpuid on the boot CPU to get some parameter that are
needed before check_bugs. Everything advanced is in identify_cpu needed before check_bugs. Everything advanced is in identify_cpu
below. */ below. */
void __cpuinit early_identify_cpu(struct cpuinfo_x86 *c) static void __cpuinit early_identify_cpu(struct cpuinfo_x86 *c)
{ {
u32 tfms; u32 tfms;
......
...@@ -40,8 +40,6 @@ extern int nohpet; ...@@ -40,8 +40,6 @@ extern int nohpet;
extern void early_printk(const char *fmt, ...) __attribute__((format(printf,1,2))); extern void early_printk(const char *fmt, ...) __attribute__((format(printf,1,2)));
extern void early_identify_cpu(struct cpuinfo_x86 *c);
extern int k8_scan_nodes(unsigned long start, unsigned long end); extern int k8_scan_nodes(unsigned long start, unsigned long end);
extern void numa_initmem_init(unsigned long start_pfn, unsigned long end_pfn); extern void numa_initmem_init(unsigned long start_pfn, unsigned long end_pfn);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment