]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
cpumask: remove old cpu_*_map.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 1 Mar 2012 00:13:35 +0000 (11:13 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 1 Mar 2012 00:13:35 +0000 (11:13 +1100)
These are obsolete: cpu_*_mask provides (const) pointers.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
include/linux/cpumask.h

index 4f7a632374713c73fe096bb81f0f9daf122571c9..777a8ee07f9c32b43eb589155159ec29210cc3f9 100644 (file)
@@ -763,12 +763,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)