diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2012-03-29 15:38:31 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2012-03-29 15:38:31 +1030 |
commit | 615399c84d1b8d8d8752629e5e5ab4e5044d6918 (patch) | |
tree | 9ba37623ae3ed3011ab7215fa364052e1ef616f1 | |
parent | 5f054e31c63be774bf1ce252f20d56012a00f8a5 (diff) |
cpumask: remove old cpu_*_map.
These are obsolete: cpu_*_mask provides (const) pointers.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-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) * */ #ifndef CONFIG_DISABLE_OBSOLETE_CPUMASK_FUNCTIONS -/* These strip const, as traditionally they weren't const. */ -#define cpu_possible_map (*(cpumask_t *)cpu_possible_mask) -#define cpu_online_map (*(cpumask_t *)cpu_online_mask) -#define cpu_present_map (*(cpumask_t *)cpu_present_mask) -#define cpu_active_map (*(cpumask_t *)cpu_active_mask) - #define cpumask_of_cpu(cpu) (*get_cpu_mask(cpu)) #define CPU_MASK_LAST_WORD BITMAP_LAST_WORD_MASK(NR_CPUS) |