From: Greg Banks <gnb@melbourne.sgi.com>
To: Andrew Morton <akpm@osdl.org>
Cc: Zwane Mwaikambo <zwane@arm.linux.org.uk>,
Linux NFS Mailing List <nfs@lists.sourceforge.net>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH 2 of 2] cpumask: use EXPORT_SYMBOL_GPL for new exports
Date: Tue, 08 Aug 2006 13:26:01 +1000 [thread overview]
Message-ID: <1155007561.29877.217.camel@hole.melbourne.sgi.com> (raw)
cpumask: use EXPORT_SYMBOL_GPL instead of EXPORT_SYMBOL to export
cpu_possible_map and cpu_online_map. Thanks to Zwane Mwaikambo
for pointing this out.
Signed-off-by: Greg Banks <gnb@melbourne.sgi.com>
---
arch/arm/kernel/smp.c | 4 ++--
arch/cris/arch-v32/kernel/smp.c | 2 +-
arch/sh/kernel/smp.c | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
Index: linux-2.6.18-rc2/arch/arm/kernel/smp.c
===================================================================
--- linux-2.6.18-rc2.orig/arch/arm/kernel/smp.c
+++ linux-2.6.18-rc2/arch/arm/kernel/smp.c
@@ -36,9 +36,9 @@
* The online bitmask indicates that the CPU is up and running.
*/
cpumask_t cpu_possible_map;
-EXPORT_SYMBOL(cpu_possible_map);
+EXPORT_SYMBOL_GPL(cpu_possible_map);
cpumask_t cpu_online_map;
-EXPORT_SYMBOL(cpu_online_map);
+EXPORT_SYMBOL_GPL(cpu_online_map);
/*
* as from 2.5, kernels no longer have an init_tasks structure
Index: linux-2.6.18-rc2/arch/cris/arch-v32/kernel/smp.c
===================================================================
--- linux-2.6.18-rc2.orig/arch/cris/arch-v32/kernel/smp.c
+++ linux-2.6.18-rc2/arch/cris/arch-v32/kernel/smp.c
@@ -28,7 +28,7 @@ spinlock_t cris_atomic_locks[] = { [0 ..
/* CPU masks */
cpumask_t cpu_online_map = CPU_MASK_NONE;
-EXPORT_SYMBOL(cpu_online_map);
+EXPORT_SYMBOL_GPL(cpu_online_map);
cpumask_t phys_cpu_present_map = CPU_MASK_NONE;
EXPORT_SYMBOL(phys_cpu_present_map);
Index: linux-2.6.18-rc2/arch/sh/kernel/smp.c
===================================================================
--- linux-2.6.18-rc2.orig/arch/sh/kernel/smp.c
+++ linux-2.6.18-rc2/arch/sh/kernel/smp.c
@@ -42,7 +42,7 @@ cpumask_t cpu_possible_map;
EXPORT_SYMBOL(cpu_possible_map);
cpumask_t cpu_online_map;
-EXPORT_SYMBOL(cpu_online_map);
+EXPORT_SYMBOL_GPL(cpu_online_map);
static atomic_t cpus_booted = ATOMIC_INIT(0);
/* These are defined by the board-specific code. */
Greg.
--
Greg Banks, R&D Software Engineer, SGI Australian Software Group.
I don't speak for SGI.
reply other threads:[~2006-08-08 3:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1155007561.29877.217.camel@hole.melbourne.sgi.com \
--to=gnb@melbourne.sgi.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nfs@lists.sourceforge.net \
--cc=zwane@arm.linux.org.uk \
/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
all inboxes | Powered by JetHome®