* [PATCH][2.5][1/15] smp_call_function/_on_cpu - include definitions
@ 2003-02-09 12:05 Zwane Mwaikambo
0 siblings, 0 replies; only message in thread
From: Zwane Mwaikambo @ 2003-02-09 12:05 UTC (permalink / raw
To: Linux Kernel
Index: linux-2.5.59-bk/include/linux/smp.h
===================================================================
RCS file: /build/cvsroot/linux-2.5.59-bk/include/linux/smp.h,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 smp.h
--- linux-2.5.59-bk/include/linux/smp.h 9 Feb 2003 09:09:29 -0000 1.1.1.1
+++ linux-2.5.59-bk/include/linux/smp.h 9 Feb 2003 09:23:29 -0000
@@ -50,8 +50,13 @@
/*
* Call a function on all other processors
*/
-extern int smp_call_function (void (*func) (void *info), void *info,
- int retry, int wait);
+extern int smp_call_function (void (*func) (void *info), void *info, int wait);
+
+/*
+ * Call a function on a single or group of processors
+ */
+extern int smp_call_function_on_cpu (void (*func) (void *info), void *info,
+ int wait, unsigned long mask);
/*
* True once the per process idle is forked
@@ -95,7 +100,8 @@
#define smp_processor_id() 0
#define hard_smp_processor_id() 0
#define smp_threads_ready 1
-#define smp_call_function(func,info,retry,wait) ({ 0; })
+#define smp_call_function(func,info,wait) ({ 0; })
+#define smp_call_function_on_cpu(func,info,wait,mask) ({ 0; })
static inline void smp_send_reschedule(int cpu) { }
static inline void smp_send_reschedule_all(void) { }
#define cpu_online_map 1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-02-09 11:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-09 12:05 [PATCH][2.5][1/15] smp_call_function/_on_cpu - include definitions Zwane Mwaikambo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).