From: Greg Banks <gnb@melbourne.sgi.com>
To: Zwane Mwaikambo <zwane@arm.linux.org.uk>
Cc: Andrew Morton <akpm@osdl.org>, Neil Brown <neilb@suse.de>,
Linux NFS Mailing List <nfs@lists.sourceforge.net>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: PATCH 2 of 4] cpumask: export cpu_online_map and cpu_possible_map consistently
Date: Mon, 07 Aug 2006 13:05:40 +1000 [thread overview]
Message-ID: <1154919940.29877.73.camel@hole.melbourne.sgi.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0608040730430.16814@montezuma.fsmlabs.com>
On Sat, 2006-08-05 at 00:32, Zwane Mwaikambo wrote:
> On Fri, 4 Aug 2006, Greg Banks wrote:
>
> > cpumask: ensure that the cpu_online_map and cpu_possible_map bitmasks,
> > and hence all the macros in <linux/cpumask.h> that require them, are
> > available to modules for all supported combinations of architecture
> > and CONFIG_SMP.
> >
> > Signed-off-by: Greg Banks <gnb@melbourne.sgi.com>
> > ---
> >
> > arch/arm/kernel/smp.c | 2 ++
> > arch/cris/arch-v32/kernel/smp.c | 1 +
> > arch/sh/kernel/smp.c | 1 +
> > kernel/sched.c | 3 +++
> > 4 files changed, 7 insertions(+)
> >
> > Index: linux-2.6.18-rc2/kernel/sched.c
> > ===================================================================
> > --- linux-2.6.18-rc2.orig/kernel/sched.c 2006-08-01 17:53:25.000000000 +1000
> > +++ linux-2.6.18-rc2/kernel/sched.c 2006-08-02 23:01:20.535457863 +1000
> > @@ -4348,7 +4348,10 @@ EXPORT_SYMBOL(cpu_present_map);
> >
> > #ifndef CONFIG_SMP
> > cpumask_t cpu_online_map __read_mostly = CPU_MASK_ALL;
> > +EXPORT_SYMBOL_GPL(cpu_online_map);
>
> > cpumask_t cpu_possible_map;
> > +EXPORT_SYMBOL(cpu_possible_map);
> > cpumask_t cpu_online_map;
> > +EXPORT_SYMBOL(cpu_online_map);
>
> How come these are of different export types?
Because I screwed up. Fix coming later. I presume _GPL
is the favoured form?
Greg.
--
Greg Banks, R&D Software Engineer, SGI Australian Software Group.
I don't speak for SGI.
next prev parent reply other threads:[~2006-08-07 3:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-04 5:35 Greg Banks
2006-08-04 14:32 ` Zwane Mwaikambo
2006-08-07 3:05 ` Greg Banks [this message]
2006-08-04 14:45 ` Arjan van de Ven
2006-08-07 2:57 ` Greg Banks
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=1154919940.29877.73.camel@hole.melbourne.sgi.com \
--to=gnb@melbourne.sgi.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=neilb@suse.de \
--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®