Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

cpumask: remove old cpu_*_map.

These are obsolete: cpu_*_mask provides (const) pointers.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

-6
-6
include/linux/cpumask.h
··· 764 764 * 765 765 */ 766 766 #ifndef CONFIG_DISABLE_OBSOLETE_CPUMASK_FUNCTIONS 767 - /* These strip const, as traditionally they weren't const. */ 768 - #define cpu_possible_map (*(cpumask_t *)cpu_possible_mask) 769 - #define cpu_online_map (*(cpumask_t *)cpu_online_mask) 770 - #define cpu_present_map (*(cpumask_t *)cpu_present_mask) 771 - #define cpu_active_map (*(cpumask_t *)cpu_active_mask) 772 - 773 767 #define cpumask_of_cpu(cpu) (*get_cpu_mask(cpu)) 774 768 775 769 #define CPU_MASK_LAST_WORD BITMAP_LAST_WORD_MASK(NR_CPUS)