Files
ubports_kernel_google_msm/arch/x86/kernel
Rusty Russell 101aaca1f3 cpumask: remove dangerous CPU_MASK_ALL_PTR, &CPU_MASK_ALL.: x86
Impact: cleanup

(Thanks to Al Viro for reminding me of this, via Ingo)

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).

So replace everywhere which used &CPU_MASK_ALL or CPU_MASK_ALL_PTR
with the modern "cpu_all_mask" (a real const struct cpumask *), and remove
CPU_MASK_ALL_PTR altogether.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Ingo Molnar <mingo@elte.hu>
Reported-by: Al Viro <viro@zeniv.linux.org.uk>
Cc: Mike Travis <travis@sgi.com>
2009-03-13 14:49:47 +10:30
..
2009-03-11 10:49:34 +01:00
2009-02-22 20:05:19 +01:00
2009-01-20 12:29:20 +09:00
2009-02-24 22:43:15 +01:00
2009-03-05 21:48:50 +01:00
2009-01-20 12:29:19 +09:00
2008-12-12 11:08:42 +01:00
2009-02-10 13:13:23 +01:00
2009-02-23 00:08:11 +01:00
2008-12-31 18:07:42 -05:00
2009-02-09 12:16:05 +01:00
2009-02-17 17:52:44 +01:00
2009-02-23 00:08:11 +01:00
2009-01-02 17:46:24 +01:00
2009-02-23 00:08:11 +01:00
2009-03-04 20:55:04 +01:00
2009-01-12 11:22:50 +01:00
2009-01-20 17:14:28 +01:00
2009-02-23 00:08:11 +01:00
2008-12-16 20:36:44 +01:00
2008-10-20 08:52:41 -07:00
2009-02-17 17:52:44 +01:00
2009-01-31 04:21:18 +01:00
2008-10-22 22:55:23 -07:00
2009-02-23 00:08:11 +01:00
2009-02-17 17:52:44 +01:00
2009-02-17 17:52:44 +01:00
2009-02-26 06:40:06 +01:00