[2.6 patch] x86: make {,un}map_cpu_to_logical_apicid() static

From: Adrian Bunk
Date: Mon Apr 21 2008 - 04:52:44 EST


{,un}map_cpu_to_logical_apicid() can again become static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>

---

arch/x86/kernel/smpboot.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

611727c3d07e2bfb612995ad09a69d444eb11488 diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
index e60b985..679c0ca 100644
--- a/arch/x86/kernel/smpboot.c
+++ b/arch/x86/kernel/smpboot.c
@@ -186,7 +186,7 @@ static void unmap_cpu_to_node(int cpu)
u8 cpu_2_logical_apicid[NR_CPUS] __read_mostly =
{ [0 ... NR_CPUS-1] = BAD_APICID };

-void map_cpu_to_logical_apicid(void)
+static void map_cpu_to_logical_apicid(void)
{
int cpu = smp_processor_id();
int apicid = logical_smp_processor_id();
@@ -199,7 +199,7 @@ void map_cpu_to_logical_apicid(void)
map_cpu_to_node(cpu, node);
}

-void unmap_cpu_to_logical_apicid(int cpu)
+static void unmap_cpu_to_logical_apicid(int cpu)
{
cpu_2_logical_apicid[cpu] = BAD_APICID;
unmap_cpu_to_node(cpu);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/