kernel/cpu.c: eliminate cpu_*_mask
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Wed, 20 Jan 2016 23:00:25 +0000 (15:00 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 21 Jan 2016 01:09:18 +0000 (17:09 -0800)
commit5aec01b834fd6f8ca49d1aeede665b950d0c148e
tree045503272e743839d1e5fe08ba332c5e28d4547e
parent848e239155a17c5373e52278ff9a13b29867ea8a
kernel/cpu.c: eliminate cpu_*_mask

Replace the variables cpu_possible_mask, cpu_online_mask, cpu_present_mask
and cpu_active_mask with macros expanding to expressions of the same type
and value, eliminating some indirection.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/cpumask.h
kernel/cpu.c