[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080729013650.GH9663@sgi.com>
Date: Mon, 28 Jul 2008 20:36:50 -0500
From: Robin Holt <holt@....com>
To: tony.luck@...el.com
Cc: bhutchings@...arflare.com, jgarzik@...hat.com,
linux-kernel@...r.kernel.org, linux-ia64@...r.kernel.org,
netdev@...r.kernel.org
Subject: [Patch] fix ia64 build failure when CONFIG_SFC=m
CONFIG_SFC=m uses topology_core_siblings() which, for ia64, expects
cpu_core_map to be exported. It is not. This patch exports the needed
symbol.
Signed-off-by: Robin Holt <holt@....com>
Index: contention_unroll/arch/ia64/kernel/smpboot.c
===================================================================
--- contention_unroll.orig/arch/ia64/kernel/smpboot.c 2008-07-28 18:19:56.000000000 -0500
+++ contention_unroll/arch/ia64/kernel/smpboot.c 2008-07-28 20:25:54.240198328 -0500
@@ -138,6 +138,7 @@ cpumask_t cpu_possible_map = CPU_MASK_NO
EXPORT_SYMBOL(cpu_possible_map);
cpumask_t cpu_core_map[NR_CPUS] __cacheline_aligned;
+EXPORT_SYMBOL(cpu_core_map);
DEFINE_PER_CPU_SHARED_ALIGNED(cpumask_t, cpu_sibling_map);
EXPORT_PER_CPU_SYMBOL(cpu_sibling_map);
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists