public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] i386/x86_64: make get_cpu_vendor() static
@ 2005-08-24 11:20 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-08-24 11:20 UTC (permalink / raw)
  To: linux-kernel; +Cc: ak

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


Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

 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(-)

--- linux-2.6.13-rc6-mm1-full/arch/i386/kernel/cpu/common.c.old	2005-08-23 01:42:41.000000000 +0200
+++ linux-2.6.13-rc6-mm1-full/arch/i386/kernel/cpu/common.c	2005-08-23 01:43:12.000000000 +0200
@@ -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;
--- linux-2.6.13-rc6-mm1-full/include/asm-x86_64/proto.h.old	2005-08-23 01:43:21.000000000 +0200
+++ linux-2.6.13-rc6-mm1-full/include/asm-x86_64/proto.h	2005-08-23 01:43:27.000000000 +0200
@@ -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); 
 
--- linux-2.6.13-rc6-mm1-full/arch/x86_64/kernel/setup.c.old	2005-08-23 01:43:35.000000000 +0200
+++ linux-2.6.13-rc6-mm1-full/arch/x86_64/kernel/setup.c	2005-08-23 01:43:47.000000000 +0200
@@ -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;
 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [2.6 patch] i386/x86_64: make get_cpu_vendor() static
@ 2005-09-02  1:23 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-09-02  1:23 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, ak

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


Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

This patch was already sent on:
- 24 Aug 2005

 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(-)

--- linux-2.6.13-rc6-mm1-full/arch/i386/kernel/cpu/common.c.old	2005-08-23 01:42:41.000000000 +0200
+++ linux-2.6.13-rc6-mm1-full/arch/i386/kernel/cpu/common.c	2005-08-23 01:43:12.000000000 +0200
@@ -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;
--- linux-2.6.13-rc6-mm1-full/include/asm-x86_64/proto.h.old	2005-08-23 01:43:21.000000000 +0200
+++ linux-2.6.13-rc6-mm1-full/include/asm-x86_64/proto.h	2005-08-23 01:43:27.000000000 +0200
@@ -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); 
 
--- linux-2.6.13-rc6-mm1-full/arch/x86_64/kernel/setup.c.old	2005-08-23 01:43:35.000000000 +0200
+++ linux-2.6.13-rc6-mm1-full/arch/x86_64/kernel/setup.c	2005-08-23 01:43:47.000000000 +0200
@@ -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;
 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-09-02  1:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-02  1:23 [2.6 patch] i386/x86_64: make get_cpu_vendor() static Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2005-08-24 11:20 Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox