]> err.no Git - linux-2.6/commitdiff
[PATCH] i386/x86_64: make get_cpu_vendor() static
authorAdrian Bunk <bunk@stusta.de>
Sat, 10 Sep 2005 07:27:21 +0000 (00:27 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 10 Sep 2005 17:06:35 +0000 (10:06 -0700)
get_cpu_vendor() no longer has any users in other files.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/cpu/common.c
arch/x86_64/kernel/setup.c
include/asm-x86_64/proto.h

index 46ce9b248f5510088ca7fd1765fcfdd86ea44bd9..9ad43be9a01f0ebc2102f7d1fef5a11aa0146c71 100644 (file)
@@ -151,7 +151,7 @@ static char __devinit *table_lookup_model(struct cpuinfo_x86 *c)
 }
 
 
-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;
index 0511d8087910d077741a93ce811a4241ee67e0e2..9aec524be3ebbbb653bcd32b42e44ea51324f442 100644 (file)
@@ -929,7 +929,7 @@ static void __cpuinit init_intel(struct cpuinfo_x86 *c)
        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;
 
index 6c813eb521f339f363a71e21caca53ba204bfcf8..f7574196424e1c4e266b1b0d7e9bbd4f5a48f2a3 100644 (file)
@@ -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);