All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: Andrew Morton <akpm@osdl.org>
Cc: ak@suse.de, linux-kernel@vger.kernel.org
Subject: [2.6 patch] unexport phys_proc_id and cpu_core_id
Date: Sun, 30 Oct 2005 21:17:19 +0100	[thread overview]
Message-ID: <20051030201719.GM4180@stusta.de> (raw)

EXPORT_SYMBOL's for phys_proc_id and cpu_core_id were added this year 
but never used.

Let's kill this bloat.


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

---

 arch/i386/kernel/smpboot.c   |    2 --
 arch/x86_64/kernel/smpboot.c |    2 --
 2 files changed, 4 deletions(-)

--- linux-2.6.14-rc5-mm1-full/arch/i386/kernel/smpboot.c.old	2005-10-30 20:51:35.000000000 +0100
+++ linux-2.6.14-rc5-mm1-full/arch/i386/kernel/smpboot.c	2005-10-30 20:51:45.000000000 +0100
@@ -68,11 +68,9 @@
 
 /* Package ID of each logical CPU */
 int phys_proc_id[NR_CPUS] __read_mostly = {[0 ... NR_CPUS-1] = BAD_APICID};
-EXPORT_SYMBOL(phys_proc_id);
 
 /* Core ID of each logical CPU */
 int cpu_core_id[NR_CPUS] __read_mostly = {[0 ... NR_CPUS-1] = BAD_APICID};
-EXPORT_SYMBOL(cpu_core_id);
 
 /* representing HT siblings of each logical CPU */
 cpumask_t cpu_sibling_map[NR_CPUS] __read_mostly;
--- linux-2.6.14-rc5-mm1-full/arch/x86_64/kernel/smpboot.c.old	2005-10-30 20:51:58.000000000 +0100
+++ linux-2.6.14-rc5-mm1-full/arch/x86_64/kernel/smpboot.c	2005-10-30 20:52:02.000000000 +0100
@@ -66,8 +66,6 @@
 u8 phys_proc_id[NR_CPUS] __read_mostly = { [0 ... NR_CPUS-1] = BAD_APICID };
 /* core ID of each logical CPU */
 u8 cpu_core_id[NR_CPUS] __read_mostly = { [0 ... NR_CPUS-1] = BAD_APICID };
-EXPORT_SYMBOL(phys_proc_id);
-EXPORT_SYMBOL(cpu_core_id);
 
 /* Bitmask of currently online CPUs */
 cpumask_t cpu_online_map __read_mostly;


             reply	other threads:[~2005-10-30 20:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-30 20:17 Adrian Bunk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-05-06 21:19 [2.6 patch] unexport phys_proc_id and cpu_core_id Adrian Bunk
2005-05-07 13:45 ` Andi Kleen
2005-06-02 20:48   ` Adrian Bunk
2005-06-02 21:12     ` Dave Jones
2005-07-09  3:07       ` 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=20051030201719.GM4180@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.