mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 12/17] cpumask: remove the deprecated smp_call_function_mask()
@ 2009-06-12 13:01 Rusty Russell
  0 siblings, 0 replies; only message in thread
From: Rusty Russell @ 2009-06-12 13:01 UTC (permalink / raw)
  To: linux-kernel


Everyone is now using smp_call_function_many().

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
---
 include/linux/smp.h |   11 -----------
 1 file changed, 11 deletions(-)

diff --git a/include/linux/smp.h b/include/linux/smp.h
--- a/include/linux/smp.h
+++ b/include/linux/smp.h
@@ -72,15 +72,6 @@ int smp_call_function(void(*func)(void *
 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 void smp_send_reschedule(i
 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)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-06-12 13:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-12 13:01 [PATCH 12/17] cpumask: remove the deprecated smp_call_function_mask() Rusty Russell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®