[PATCH v2, resend 5/6] kernel/cpu.c: eliminate cpu_*_mask

2015-11-23 Thread Rasmus Villemoes
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. Acked-by: Rusty Russell Signed-off-by: Rasmus Villemoes --- include/linux/cpumask.h | 8

[PATCH v2, resend 5/6] kernel/cpu.c: eliminate cpu_*_mask

2015-11-23 Thread Rasmus Villemoes
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. Acked-by: Rusty Russell Signed-off-by: Rasmus Villemoes