Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030323AbWHDObL (ORCPT ); Fri, 4 Aug 2006 10:31:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030329AbWHDObL (ORCPT ); Fri, 4 Aug 2006 10:31:11 -0400 Received: from shawidc-mo1.cg.shawcable.net ([24.71.223.10]:47426 "EHLO pd4mo3so.prod.shaw.ca") by vger.kernel.org with ESMTP id S1030323AbWHDObK (ORCPT ); Fri, 4 Aug 2006 10:31:10 -0400 Date: Fri, 04 Aug 2006 07:32:15 -0700 (PDT) From: Zwane Mwaikambo Subject: Re: PATCH 2 of 4] cpumask: export cpu_online_map and cpu_possible_map consistently In-reply-to: <1154669759.21040.2353.camel@hole.melbourne.sgi.com> To: Greg Banks Cc: Andrew Morton , Neil Brown , Linux NFS Mailing List , Linux Kernel Mailing List Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII References: <1154669759.21040.2353.camel@hole.melbourne.sgi.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1435 Lines: 41 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 that require them, are > available to modules for all supported combinations of architecture > and CONFIG_SMP. > > Signed-off-by: Greg Banks > --- > > 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? Cheers, Zwane - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/