patch-2.4.0-test10 linux/include/asm-sparc/smp.h
Next file: linux/include/asm-sparc64/atomic.h
Previous file: linux/include/asm-sparc/resource.h
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Tue Oct 10 10:33:52 2000
- Orig file:
v2.4.0-test9/linux/include/asm-sparc/smp.h
- Orig date:
Thu Sep 7 08:32:01 2000
diff -u --recursive --new-file v2.4.0-test9/linux/include/asm-sparc/smp.h linux/include/asm-sparc/smp.h
@@ -93,6 +93,12 @@
unsigned long arg3, unsigned long arg4, unsigned long arg5)
{ smp_cross_call(func, arg1, arg2, arg3, arg4, arg5); }
+extern __inline__ int smp_call_function(void (*func)(void *info), void *info, int nonatomic, int wait)
+{
+ xc1((smpfunc_t)func, (unsigned long)info);
+ return 0;
+}
+
extern __volatile__ int __cpu_number_map[NR_CPUS];
extern __volatile__ int __cpu_logical_map[NR_CPUS];
extern unsigned long smp_proc_in_lock[NR_CPUS];
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)