netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Patch] fix ia64 build failure when CONFIG_SFC=m
@ 2008-07-29  1:36 Robin Holt
  2008-07-29 17:23 ` Luck, Tony
  0 siblings, 1 reply; 6+ messages in thread
From: Robin Holt @ 2008-07-29  1:36 UTC (permalink / raw)
  To: tony.luck; +Cc: bhutchings, jgarzik, linux-kernel, linux-ia64, netdev

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);
 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-07-30 22:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-29  1:36 [Patch] fix ia64 build failure when CONFIG_SFC=m Robin Holt
2008-07-29 17:23 ` Luck, Tony
2008-07-29 17:48   ` Ben Hutchings
2008-07-29 21:00     ` David Miller
2008-07-30 13:35       ` Ben Hutchings
2008-07-30 22:18         ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).