All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org, ak@suse.de
Subject: [2.6 patch] i386/x86_64: make get_cpu_vendor() static
Date: Fri, 2 Sep 2005 03:23:59 +0200	[thread overview]
Message-ID: <20050902012359.GP3657@stusta.de> (raw)

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;
 


             reply	other threads:[~2005-09-02  1:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-02  1:23 Adrian Bunk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-08-24 11:20 [2.6 patch] i386/x86_64: make get_cpu_vendor() static Adrian Bunk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050902012359.GP3657@stusta.de \
    --to=bunk@stusta.de \
    --cc=ak@suse.de \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.