From: Robin Holt <holt@sgi.com>
To: tony.luck@intel.com
Cc: bhutchings@solarflare.com, jgarzik@redhat.com,
linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org,
netdev@vger.kernel.org
Subject: [Patch] fix ia64 build failure when CONFIG_SFC=m
Date: Tue, 29 Jul 2008 01:36:50 +0000 [thread overview]
Message-ID: <20080729013650.GH9663@sgi.com> (raw)
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);
WARNING: multiple messages have this Message-ID (diff)
From: Robin Holt <holt@sgi.com>
To: tony.luck@intel.com
Cc: bhutchings@solarflare.com, jgarzik@redhat.com,
linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org,
netdev@vger.kernel.org
Subject: [Patch] fix ia64 build failure when CONFIG_SFC=m
Date: Mon, 28 Jul 2008 20:36:50 -0500 [thread overview]
Message-ID: <20080729013650.GH9663@sgi.com> (raw)
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);
next reply other threads:[~2008-07-29 1:36 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-29 1:36 Robin Holt [this message]
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:23 ` Luck, Tony
2008-07-29 17:48 ` Ben Hutchings
2008-07-29 17:48 ` Ben Hutchings
2008-07-29 21:00 ` David Miller
2008-07-29 21:00 ` David Miller
2008-07-30 13:35 ` Ben Hutchings
2008-07-30 13:35 ` Ben Hutchings
2008-07-30 22:18 ` David Miller
2008-07-30 22:18 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080729013650.GH9663@sgi.com \
--to=holt@sgi.com \
--cc=bhutchings@solarflare.com \
--cc=jgarzik@redhat.com \
--cc=linux-ia64@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=tony.luck@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.