[2.6 patch] unexport phys_proc_id and cpu_core_id

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>

---

 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;

-
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]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux