[Patch 10/23] mask v2 - Remove obsolete cpumask emulation

Paul Jackson
2004-04-01T21:57:25Z

Patch_10_of_23 - Remove obsolete cpumask emulation from cpumask.h
Now that the emulation of the obsolete cpumask macros is no
longer needed, remove it from cpumask.h

Diffstat Patch_10_of_23:
cpumask.h | 12 ------------
1 files changed, 12 deletions(-)

===================================================================
--- 2.6.4.orig/include/linux/cpumask.h 2004-04-01 09:35:15.000000000 -0800
+++ 2.6.4/include/linux/cpumask.h 2004-04-01 09:40:07.000000000 -0800
@@ -155,16 +155,4 @@
#define for_each_online_cpu(cpu) \
for_each_cpu_mask(cpu, cpu_online_map)

-/* Begin obsolete cpumask operator emulation */
-#define cpu_isset_const(a,b) cpu_isset(a,b)
-#define cpumask_const_t cpumask_t
-#define cpus_coerce(m) (cpus_addr(m)[0])
-#define cpus_coerce_const cpus_coerce
-#define cpus_promote(x) ({ cpumask_t m; m._m[0] = x; m; })
-#define cpus_weight_const cpus_weight
-#define first_cpu_const first_cpu
-#define mk_cpumask_const(x) x
-#define next_cpu_const next_cpu
-/* End of obsolete cpumask operator emulation */
-
#endif /* __LINUX_CPUMASK_H */