Skip to contentSkip to conversation

i386/x86_64: make get_cpu_vendor() static

PATCH New Adrian Bunk 1 participant 1 message Aug 24, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i386/x86_64: make get_cpu_vendor() static

get_cpu_vendor() no longer has any users in other files.

---

 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(-)
arch/i386/kernel/cpu/common.c renamed from arch/i386/kernel/cpu/common.c.old +1 -1
@@ -151,7 +151,7 @@
 }
 
 
-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;
include/asm-x86_64/proto.h renamed from include/asm-x86_64/proto.h.old +0 -1
@@ -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); 
 
arch/x86_64/kernel/setup.c renamed from arch/x86_64/kernel/setup.c.old +1 -1
@@ -929,7 +929,7 @@
  	c->x86_num_cores = intel_num_cpu_cores(c);
 }
 
-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;