From: Adrian Bunk get_cpu_vendor() no longer has any users in other files. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton --- arch/i386/kernel/cpu/common.c | 2 +- arch/x86_64/kernel/setup.c | 2 +- include/asm-x86_64/proto.h | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff -puN arch/i386/kernel/cpu/common.c~i386-x86_64-make-get_cpu_vendor-static arch/i386/kernel/cpu/common.c --- devel/arch/i386/kernel/cpu/common.c~i386-x86_64-make-get_cpu_vendor-static 2005-09-07 20:11:35.000000000 -0700 +++ devel-akpm/arch/i386/kernel/cpu/common.c 2005-09-07 20:11:35.000000000 -0700 @@ -149,7 +149,7 @@ static char __devinit *table_lookup_mode } -void __devinit get_cpu_vendor(struct cpuinfo_x86 *c, int early) +static void __devinit get_cpu_vendor(struct cpuinfo_x86 *c, int early) { char *v = c->x86_vendor_id; int i; diff -puN arch/x86_64/kernel/setup.c~i386-x86_64-make-get_cpu_vendor-static arch/x86_64/kernel/setup.c --- devel/arch/x86_64/kernel/setup.c~i386-x86_64-make-get_cpu_vendor-static 2005-09-07 20:11:35.000000000 -0700 +++ devel-akpm/arch/x86_64/kernel/setup.c 2005-09-07 20:11:35.000000000 -0700 @@ -983,7 +983,7 @@ static void __cpuinit init_intel(struct srat_detect_node(); } -void __cpuinit get_cpu_vendor(struct cpuinfo_x86 *c) +static void __cpuinit get_cpu_vendor(struct cpuinfo_x86 *c) { char *v = c->x86_vendor_id; diff -puN include/asm-x86_64/proto.h~i386-x86_64-make-get_cpu_vendor-static include/asm-x86_64/proto.h --- devel/include/asm-x86_64/proto.h~i386-x86_64-make-get_cpu_vendor-static 2005-09-07 20:11:35.000000000 -0700 +++ devel-akpm/include/asm-x86_64/proto.h 2005-09-07 20:11:35.000000000 -0700 @@ -8,7 +8,6 @@ struct cpuinfo_x86; struct pt_regs; -extern void get_cpu_vendor(struct cpuinfo_x86*); extern void start_kernel(void); extern void pda_init(int); _