summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-09-24 09:34:40 -0600
committerRusty Russell <rusty@rustcorp.com.au>2009-09-24 09:34:40 +0930
commitfe71a3c7dc8cfe0f239c04b4fc6501f4aa56aa0a (patch)
tree8624305d7d0df9ca5fb2ec8ad57df31c1e21d4a4
parentda83a84b53296a2ea498be8a497c86fb4a1fd2d6 (diff)
downloadblackbird-op-linux-fe71a3c7dc8cfe0f239c04b4fc6501f4aa56aa0a.tar.gz
blackbird-op-linux-fe71a3c7dc8cfe0f239c04b4fc6501f4aa56aa0a.zip
cpumask: remove the deprecated smp_call_function_mask()
Everyone is now using smp_call_function_many(). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-rw-r--r--include/linux/smp.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/smp.h b/include/linux/smp.h
index 9e3d8af09207..39c64bae776d 100644
--- a/include/linux/smp.h
+++ b/include/linux/smp.h
@@ -73,15 +73,6 @@ int smp_call_function(void(*func)(void *info), void *info, int wait);
void smp_call_function_many(const struct cpumask *mask,
void (*func)(void *info), void *info, bool wait);
-/* Deprecated: Use smp_call_function_many which takes a pointer to the mask. */
-static inline int
-smp_call_function_mask(cpumask_t mask, void(*func)(void *info), void *info,
- int wait)
-{
- smp_call_function_many(&mask, func, info, wait);
- return 0;
-}
-
void __smp_call_function_single(int cpuid, struct call_single_data *data,
int wait);
@@ -144,8 +135,6 @@ static inline int up_smp_call_function(void (*func)(void *), void *info)
static inline void smp_send_reschedule(int cpu) { }
#define num_booting_cpus() 1
#define smp_prepare_boot_cpu() do {} while (0)
-#define smp_call_function_mask(mask, func, info, wait) \
- (up_smp_call_function(func, info))
#define smp_call_function_many(mask, func, info, wait) \
(up_smp_call_function(func, info))
static inline void init_call_single_data(void)
OpenPOWER on IntegriCloud