get_cpu_vendor() no longer has any users in other files.
Signed-off-by: Adrian Bunk <[email protected]>
---
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;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
|
|