patch-2.4.10 linux/include/asm-alpha/smp.h

Next file: linux/include/asm-alpha/softirq.h
Previous file: linux/include/asm-alpha/processor.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.9/linux/include/asm-alpha/smp.h linux/include/asm-alpha/smp.h
@@ -60,6 +60,12 @@
 extern unsigned long cpu_present_mask;
 #define cpu_online_map cpu_present_mask
 
+extern int smp_call_function_on_cpu(void (*func) (void *info), void *info,int retry, int wait, unsigned long cpu);
+
+#else /* CONFIG_SMP */
+
+#define smp_call_function_on_cpu(func,info,retry,wait,cpu)    ({ 0; })
+
 #endif /* CONFIG_SMP */
 
 #define NO_PROC_ID	(-1)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)