From: Andrew Morton Subject: Re: [PATCH 1 of 2] cpumask: use EXPORT_SYMBOL_GPL for new exports Date: Mon, 7 Aug 2006 20:39:14 -0700 Message-ID: <20060807203914.6aec29df.akpm@osdl.org> References: <1155007534.29877.215.camel@hole.melbourne.sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: Linux NFS Mailing List , Zwane Mwaikambo , Linux Kernel Mailing List Return-path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list2-new.sourceforge.net with esmtp (Exim 4.43) id 1GAIRE-0008M4-CU for nfs@lists.sourceforge.net; Mon, 07 Aug 2006 20:39:28 -0700 Received: from smtp.osdl.org ([65.172.181.4]) by mail.sourceforge.net with esmtps (TLSv1:DES-CBC3-SHA:168) (Exim 4.44) id 1GAIRC-0003Yg-Jg for nfs@lists.sourceforge.net; Mon, 07 Aug 2006 20:39:28 -0700 To: Greg Banks , Paul Jackson In-Reply-To: <1155007534.29877.215.camel@hole.melbourne.sgi.com> List-Id: "Discussion of NFS under Linux development, interoperability, and testing." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nfs-bounces@lists.sourceforge.net Errors-To: nfs-bounces@lists.sourceforge.net On Tue, 08 Aug 2006 13:25:34 +1000 Greg Banks wrote: > cpumask: use EXPORT_SYMBOL_GPL instead of EXPORT_SYMBOL to export > node_2_cpu_mask. Thanks to Zwane Mwaikambo for pointing this out. > > Signed-off-by: Greg Banks > --- > > arch/i386/kernel/smpboot.c | 2 +- > 1 files changed, 1 insertion(+), 1 deletion(-) > > Index: linux-2.6.18-rc2/arch/i386/kernel/smpboot.c > =================================================================== > --- linux-2.6.18-rc2.orig/arch/i386/kernel/smpboot.c > +++ linux-2.6.18-rc2/arch/i386/kernel/smpboot.c > @@ -609,7 +609,7 @@ extern struct { > /* which logical CPUs are on which nodes */ > cpumask_t node_2_cpu_mask[MAX_NUMNODES] __read_mostly = > { [0 ... MAX_NUMNODES-1] = CPU_MASK_NONE }; > -EXPORT_SYMBOL(node_2_cpu_mask); > +EXPORT_SYMBOL_GPL(node_2_cpu_mask); > /* which node each logical CPU is on */ > int cpu_2_node[NR_CPUS] __read_mostly = { [0 ... NR_CPUS-1] = 0 }; > EXPORT_SYMBOL(cpu_2_node); All the existing exports in lib/cpumask.c are EXPORT_SYMBOL() so I'd be inclined to make any new exports match that. OK? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs