Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] i386/x86_64: make get_cpu_vendor() static

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>

authored by

Adrian Bunk and committed by
Linus Torvalds
672289e9 e711700a

+2 -3
+1 -1
arch/i386/kernel/cpu/common.c
··· 151 151 } 152 152 153 153 154 - void __devinit get_cpu_vendor(struct cpuinfo_x86 *c, int early) 154 + static void __devinit get_cpu_vendor(struct cpuinfo_x86 *c, int early) 155 155 { 156 156 char *v = c->x86_vendor_id; 157 157 int i;
+1 -1
arch/x86_64/kernel/setup.c
··· 929 929 c->x86_num_cores = intel_num_cpu_cores(c); 930 930 } 931 931 932 - void __cpuinit get_cpu_vendor(struct cpuinfo_x86 *c) 932 + static void __cpuinit get_cpu_vendor(struct cpuinfo_x86 *c) 933 933 { 934 934 char *v = c->x86_vendor_id; 935 935
-1
include/asm-x86_64/proto.h
··· 8 8 struct cpuinfo_x86; 9 9 struct pt_regs; 10 10 11 - extern void get_cpu_vendor(struct cpuinfo_x86*); 12 11 extern void start_kernel(void); 13 12 extern void pda_init(int); 14 13