diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-09-10 03:27:21 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-10 13:06:35 -0400 |
commit | 672289e9faa56acd4e39ad866ea258b7be7c99a6 (patch) | |
tree | b7c3de57206573d97177ca9e488b175827c633e9 /arch | |
parent | e711700a0e6a6824fcfd5519d6b6982850a648ee (diff) |
[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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/kernel/cpu/common.c | 2 | ||||
-rw-r--r-- | arch/x86_64/kernel/setup.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/i386/kernel/cpu/common.c b/arch/i386/kernel/cpu/common.c index 46ce9b248f55..9ad43be9a01f 100644 --- a/arch/i386/kernel/cpu/common.c +++ b/arch/i386/kernel/cpu/common.c | |||
@@ -151,7 +151,7 @@ static char __devinit *table_lookup_model(struct cpuinfo_x86 *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 | char *v = c->x86_vendor_id; | 156 | char *v = c->x86_vendor_id; |
157 | int i; | 157 | int i; |
diff --git a/arch/x86_64/kernel/setup.c b/arch/x86_64/kernel/setup.c index 0511d8087910..9aec524be3eb 100644 --- a/arch/x86_64/kernel/setup.c +++ b/arch/x86_64/kernel/setup.c | |||
@@ -929,7 +929,7 @@ static void __cpuinit init_intel(struct cpuinfo_x86 *c) | |||
929 | c->x86_num_cores = intel_num_cpu_cores(c); | 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 | char *v = c->x86_vendor_id; | 934 | char *v = c->x86_vendor_id; |
935 | 935 | ||