Skip to content

Commit

Permalink
x86: make early_indentify_cpu static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thomas Gleixner authored and Ingo Molnar committed Jan 30, 2008
1 parent 376ff03 commit 8c61b90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 3 additions & 1 deletion arch/x86/kernel/setup_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ struct resource bss_resource = {
.flags = IORESOURCE_RAM,
};

static void __cpuinit early_identify_cpu(struct cpuinfo_x86 *c);

#ifdef CONFIG_PROC_VMCORE
/* elfcorehdr= specifies the location of elf core header
* stored by the crashed kernel. This option will be passed
Expand Down Expand Up @@ -844,7 +846,7 @@ struct cpu_model_info {
/* Do some early cpuid on the boot CPU to get some parameter that are
needed before check_bugs. Everything advanced is in identify_cpu
below. */
void __cpuinit early_identify_cpu(struct cpuinfo_x86 *c)
static void __cpuinit early_identify_cpu(struct cpuinfo_x86 *c)
{
u32 tfms;

Expand Down
2 changes: 0 additions & 2 deletions include/asm-x86/proto.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ extern int nohpet;

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 void numa_initmem_init(unsigned long start_pfn, unsigned long end_pfn);
Expand Down

0 comments on commit 8c61b90

Please sign in to comment.