public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Ben Hutchings <bhutchings@solarflare.com>
To: linux-ia64@vger.kernel.org
Subject: [PATCH] ia64: export cpu_core_map
Date: Tue, 29 Jul 2008 11:12:26 +0000	[thread overview]
Message-ID: <20080729111225.GA10471@solarflare.com> (raw)

cpu_core_map is referenced by the topology_core_siblings() macro, which is
now used by the sfc driver.  Matthew Wilcox reported that the driver failed
to link because that symbol is not exported.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
---
I have not yet tested this as we have limited ia64 kit here.  Matthew,
please could you check that this builds at least?

Ben.
---
diff --git a/arch/ia64/kernel/smpboot.c b/arch/ia64/kernel/smpboot.c
index 03f1a99..6cb0927 100644
--- a/arch/ia64/kernel/smpboot.c
+++ b/arch/ia64/kernel/smpboot.c
@@ -138,6 +138,7 @@ cpumask_t cpu_possible_map = CPU_MASK_NONE;
 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);
 

-- 
Ben Hutchings, Senior Software Engineer, Solarflare Communications
 ot speaking for my employer; that's the marketing department's job.

             reply	other threads:[~2008-07-29 11:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-29 11:12 Ben Hutchings [this message]
2008-07-29 12:09 ` [PATCH] ia64: export cpu_core_map Robin Holt
2008-07-29 12:28 ` Ben Hutchings

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=20080729111225.GA10471@solarflare.com \
    --to=bhutchings@solarflare.com \
    --cc=linux-ia64@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox