diff options
Diffstat (limited to 'include/linux/cpumask.h')
-rw-r--r-- | include/linux/cpumask.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/cpumask.h b/include/linux/cpumask.h index 1ffdb9856bb9..a2c819d3c96e 100644 --- a/include/linux/cpumask.h +++ b/include/linux/cpumask.h | |||
@@ -764,12 +764,6 @@ static inline const struct cpumask *get_cpu_mask(unsigned int cpu) | |||
764 | * | 764 | * |
765 | */ | 765 | */ |
766 | #ifndef CONFIG_DISABLE_OBSOLETE_CPUMASK_FUNCTIONS | 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 | #define cpumask_of_cpu(cpu) (*get_cpu_mask(cpu)) | 767 | #define cpumask_of_cpu(cpu) (*get_cpu_mask(cpu)) |
774 | 768 | ||
775 | #define CPU_MASK_LAST_WORD BITMAP_LAST_WORD_MASK(NR_CPUS) | 769 | #define CPU_MASK_LAST_WORD BITMAP_LAST_WORD_MASK(NR_CPUS) |