[Patch] fix ia64 build failure when CONFIG_SFC=m

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Robin Holt
Date: Monday, July 28, 2008 - 6:36 pm

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@sgi.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);
 
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[Patch] fix ia64 build failure when CONFIG_SFC=m, Robin Holt, (Mon Jul 28, 6:36 pm)
RE: [Patch] fix ia64 build failure when CONFIG_SFC=m, Luck, Tony, (Tue Jul 29, 10:23 am)
Re: [Patch] fix ia64 build failure when CONFIG_SFC=m, Ben Hutchings, (Tue Jul 29, 10:48 am)
Re: [Patch] fix ia64 build failure when CONFIG_SFC=m, David Miller, (Tue Jul 29, 2:00 pm)
Re: [Patch] fix ia64 build failure when CONFIG_SFC=m, Ben Hutchings, (Wed Jul 30, 6:35 am)
Re: [Patch] fix ia64 build failure when CONFIG_SFC=m, David Miller, (Wed Jul 30, 3:18 pm)