[PATCH] nodmask.h: remove macro any_online_node
Benjamin Herrenschmidt
benh at kernel.crashing.org
Mon Feb 1 13:05:58 EST 2010
On Wed, 2010-01-06 at 16:24 -0700, H Hartley Sweeten wrote:
> nodmask.h: remove macro any_online_node
>
> The macro any_online_node is prone to producing sparse warnings
> due to the local symbol 'node'. Since all the in-tree users are really
> requesting the first online node (the mask argument is either
> NODE_MASK_ALL or node_online_map) just use the first_online_node
> macro and remove the any_online_node macro since there are no users.
>
> Signed-off-by: H Hartley Sweeten <hsweeten at visionengravers.com>
> Cc: Andrew Morton <akpm at linux-foundation.org>
> Cc: David Rientjes <rientjes at google.com>
> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
> Cc: Mel Gorman <mel at csn.ul.ie>
> Cc: Lee Schermerhorn <lee.schermerhorn at hp.com>
Acked-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> Cc: Paul Mackerras <paulus at samba.org>
> Cc: Dave Hansen <dave at linux.vnet.ibm.com>
> Cc: Milton Miller <miltonm at bga.com>
> Cc: Nathan Fontenot <nfont at austin.ibm.com>
> Cc: Geoff Levand <geoffrey.levand at am.sony.com>
> Cc: Grant Likely <grant.likely at secretlab.ca>
> Cc: J. Bruce Fields <bfields at fieldses.org>
> Cc: Neil Brown <neilb at suse.de>
> Cc: Trond Myklebust <Trond.Myklebust at netapp.com>
> Cc: David S. Miller <davem at davemloft.net>
> Cc: Benny Halevy <bhalevy at panasas.com>
> Cc: Chuck Lever <chuck.lever at oracle.com>
> Cc: Ricardo Labiaga <Ricardo.Labiaga at netapp.com>
Cheers,
Ben.
More information about the Linuxppc-dev
mailing list