sparc: replace uses of CPU_MASK_ALL_PTR
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 15 Jun 2009 10:06:18 +0000 (03:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Jun 2009 11:56:55 +0000 (04:56 -0700)
commit6ac5c610828c051666f667d2bdbd51fc15a59e98
treeb4db162651fbfc64bb07d2f0a6c754849e5bc820
parent9be12f9b1c4fd5f18cc82c170a32bfe1713ba76d
sparc: replace uses of CPU_MASK_ALL_PTR

CPU_MASK_ALL is the (deprecated) "all bits set" cpumask, defined as so:

#define CPU_MASK_ALL (cpumask_t) { { ... } }

Taking the address of such a temporary is questionable at best,
unfortunately 321a8e9d (cpumask: add CPU_MASK_ALL_PTR macro) added
CPU_MASK_ALL_PTR:

#define CPU_MASK_ALL_PTR (&CPU_MASK_ALL)

Which formalizes this practice.  One day gcc could bite us over this
usage (though we seem to have gotten away with it so far).

[Description by Rusty Russell]
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/smp_64.c
arch/sparc/mm/init_64.c